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