Install and using CircUp (CircuitPython library updater) to install CircuitPython libraries
  CircUp (CircuitPython library updater)
  is a tool to manage and update libraries (modules) on a CircuitPython device.
  In old approach, we will download library bundle from
  CircuitPython Libraries, extract, and fine the libraries to upload to CircuitPython device manually.
  If any libraries updated, we have to do it again. With CircUp, it install and
  update libraries automatically. 
This utility looks at all the libraries on the device and checks if they
    are the most recent (compared to the versions found in the most recent
    version of the Adafruit CircuitPython Bundle and Circuitpython Community
    Bundle). If the libraries are out of date, the utility helps you update
    them.
It's suggested to install CircUp in virtualenv (Python virtual
  environment). This video show steps to create virtualenv in Windows 11,
  install CircUp in virtualenv, and install libraries on CircuitPython
  device using CircUp.
Circup requires Python 3.5 or higher.
To create a virtualenv for circup, enter the command:
python -m venv envCircup
To activate the virtualenv, switch to the "Scripts" directory under envCircup, enter the command:
activate
.\activate
To install circup, enter the command:
pip install circup
circup install <module>
After finished, exit virtualenv by running:
deactivate
To update Circup:
pip install -- upgrade circup
Comments
Post a Comment