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