File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2828This is easily achieved by downloading
2929`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle >`_.
3030
31+ Installing from PyPI
32+ ====================
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-lsm303_accel/> `_. To install for current user:
36+
37+ .. code-block :: shell
38+
39+ pip3 install adafruit-circuitpython-lsm303_accel
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-lsm303_accel
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-lsm303_accel
55+
3156 Usage Example
3257=============
3358
You can’t perform that action at this time.
0 commit comments