mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add install dependencies to docs
This commit is contained in:
@@ -31,10 +31,15 @@ colour LEDs, robotics kits and more.
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
First, install the dependencies:
|
||||||
|
|
||||||
|
```python
|
||||||
|
sudo apt-get install python-pip python3-pip python-w1thermsensor python3-w1thermsensor python-spidev python3-spidev
|
||||||
|
```
|
||||||
|
|
||||||
Install with pip:
|
Install with pip:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install python-pip python3-pip
|
|
||||||
sudo pip install gpiozero
|
sudo pip install gpiozero
|
||||||
sudo pip-3.2 install gpiozero
|
sudo pip-3.2 install gpiozero
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user