Skip to content

Commit 853de6c

Browse files
authored
Added PyPi installation instructions
1 parent dcfff34 commit 853de6c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.rst

+25
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
3939
This is easily achieved by downloading
4040
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
4141

42+
Installing from PyPI
43+
====================
44+
45+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
46+
PyPI <https://pypi.org/project/adafruit-circuitpython-neopixel/>`_. To install for current user:
47+
48+
.. code-block:: shell
49+
50+
pip3 install adafruit-circuitpython-neopixel
51+
52+
To install system-wide (this may be required in some cases):
53+
54+
.. code-block:: shell
55+
56+
sudo pip3 install adafruit-circuitpython-neopixel
57+
58+
To install in a virtual environment in your current project:
59+
60+
.. code-block:: shell
61+
62+
mkdir project-name && cd project-name
63+
python3 -m venv .env
64+
source .env/bin/activate
65+
pip3 install adafruit-circuitpython-neopixel
66+
4267
Usage Example
4368
=============
4469

0 commit comments

Comments
 (0)