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 @@ -34,6 +34,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
34
34
This is easily achieved by downloading
35
35
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle >`_.
36
36
37
+ Installing from PyPI
38
+ ====================
39
+
40
+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
41
+ PyPI <https://pypi.org/project/adafruit-circuitpython-lis3dh/> `_. To install for current user:
42
+
43
+ .. code-block :: shell
44
+
45
+ pip3 install adafruit-circuitpython-lis3dh
46
+
47
+ To install system-wide (this may be required in some cases):
48
+
49
+ .. code-block :: shell
50
+
51
+ sudo pip3 install adafruit-circuitpython-lis3dh
52
+
53
+ To install in a virtual environment in your current project:
54
+
55
+ .. code-block :: shell
56
+
57
+ mkdir project-name && cd project-name
58
+ python3 -m venv .env
59
+ source .env/bin/activate
60
+ pip3 install adafruit-circuitpython-lis3dh
61
+
37
62
Contributing
38
63
============
39
64
You can’t perform that action at this time.
0 commit comments