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