Skip to content

Commit df47808

Browse files
authored
Added PyPi installation instructions
1 parent aa47065 commit df47808

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
@@ -24,6 +24,31 @@ Please ensure they are also available on the CircuitPython filesystem. This is
2424
easily achieved by downloading `a library and driver bundle
2525
<https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2626

27+
Installing from PyPI
28+
====================
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-bno055/>`_. To install for current user:
32+
33+
.. code-block:: shell
34+
35+
pip3 install adafruit-circuitpython-bno055
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-bno055
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-bno055
51+
2752
Usage Notes
2853
===========
2954

0 commit comments

Comments
 (0)