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
|
||||
|
||||
First, install the dependencies:
|
||||
|
||||
```python
|
||||
sudo apt-get install python-pip python3-pip python-w1thermsensor python3-w1thermsensor python-spidev python3-spidev
|
||||
```
|
||||
|
||||
Install with pip:
|
||||
|
||||
```bash
|
||||
sudo apt-get install python-pip python3-pip
|
||||
sudo pip install gpiozero
|
||||
sudo pip-3.2 install gpiozero
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user