File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,33 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2626This is easily achieved by downloading
2727`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle >`_.
2828
29+ Installing from PyPI
30+ ====================
31+
32+ Warning: This will _not_ work with BLE on Linux
33+
34+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
35+ PyPI <https://pypi.org/project/adafruit-circuitpython-ble/> `_. To install for current user:
36+
37+ .. code-block :: shell
38+
39+ pip3 install adafruit-circuitpython-ble
40+
41+ To install system-wide (this may be required in some cases):
42+
43+ .. code-block :: shell
44+
45+ sudo pip3 install adafruit-circuitpython-ble
46+
47+ To install in a virtual environment in your current project:
48+
49+ .. code-block :: shell
50+
51+ mkdir project-name && cd project-name
52+ python3 -m venv .env
53+ source .env/bin/activate
54+ pip3 install adafruit-circuitpython-ble
55+
2956 Usage Example
3057=============
3158
You can’t perform that action at this time.
0 commit comments