File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,16 @@ loaded all of these repositories on the [Python package index](https://pypi.pyth
12
12
so they can be installed with ` pip ` (note that pip won't install example code so for most users
13
13
it's recommended to install from source).
14
14
15
- In addition ** all** of the Python libraries below support ** both** Python 2.7 and Python 3.x!
15
+ In addition ** all** of the Python libraries below support ** both** Python 2.7 and Python 3.x! Note
16
+ if you do plan to use Python 3 it has totally separate libraries from Python 2 so you might
17
+ need to install all the libraries you use in ** both** Python 2 and 3. See this video stream
18
+ for more details: https://www.youtube.com/watch?v=rRFG32EebNc In particular on a Raspberry Pi
19
+ you probably want to install Python 3, PIP for Python 3, and the RPi.GPIO library (used
20
+ to talk to GPIO pins on the Pi) with these commands:
21
+
22
+ sudo apt-get update
23
+ sudo apt-get install -y python3 python3-pip python-dev
24
+ sudo pip3 install rpi.gpio
16
25
17
26
## Where do I find the new Raspberry Pi Python code?
18
27
You can’t perform that action at this time.
0 commit comments