FAQ_MA35D1_Install Library in MA35-RTT

Post Reply
yhcheng3
Posts: 55
Joined: 02 Dec 2022, 10:46

02 Dec 2022, 18:13

Question :

MA35-RTT: How to Install Python and Libusb (Windows) ?


Answer.
  1. Install Python
    Link: https://www.python.org/downloads/windows/
    .
  2. Set windows environment variables (Refer to Figure1&2)
    F2.png
    windows environment variables
    F2.png (491.1 KiB) Viewed 2910 times
    .
    F3.png
    add python path
    F3.png (253.25 KiB) Viewed 2910 times
    .
  3. Install python plugin (Refer to Figure3)

    Code: Select all

    pip3 install pyusb usb crypto ecdsa crcmod tqdm pycryptodome
    figure3.png
    Install python
    figure3.png (77.12 KiB) Viewed 2935 times
    .
  4. Install Libusb for Window
    Link: http://sourceforge.net/projects/libusb/ ... z/download
    1. Download the library extract the download file.
    2. Copy MS64\dll\libusb-1.0.dll to C:\Windows\System32.
    3. Copy MS64\dll\libusb-1.0.lib to C:\Users\<user name>\AppData\Local\Programs\Python\<python ver>\Lib.



#MA35D1 #RT-Thread #RTT-Studio #python #libusb
.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests