-
Notifications
You must be signed in to change notification settings - Fork 0
01 Getting Started
To get started simply clone this repository on your machine and install the required modules (below).
- Python 3 (currently tested on 3.10)
- PyUSB 1.2.1
- toml 0.10.2
libusb is a requirement of PyUSB, their repository has some good information on installation steps if you're unable to follow a method here, or on the libusb site, linked below.
Visit libusb.info for installation information.
Using homebrew:
brew install libusb
Download from the libusb site
Your distribution may already have libusb installed.
Using pipenv:
pipenv install
pipenv
will use the Pipfile
to install all required modules into a virtual environment spefically for this application. This is ideal as it won't cause any version conflicts with any other installed modules.
If you use this method, in the next sections when you're trying to run the application you'll need to preface any command with
pipenv run [COMMAND]
so if the[COMMAND]
ispython3 g-manager.py DEVICE
you would runpipenv run python3 g-manager.py DEVICE
If you would rather not use pipenv
you can use pip
to install the modules globally:
python3 -m pip install pyusb==1.2.1
python3 -m pip install toml==0.10.2
Now you're ready to start using G Manager!