Skip to content

Commit af4775e

Browse files
authored
Update README.rst
1 parent 422dbea commit af4775e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,30 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2525
This is easily achieved by downloading
2626
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2727

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+
2852
Usage Example
2953
=============
3054

0 commit comments

Comments
 (0)