Make sure pip3 command are run with sudo to install globally

This commit is contained in:
Romain Bazile 2020-07-20 23:24:06 +02:00
parent 493915c7b4
commit 620c1940ce

View file

@ -117,8 +117,8 @@ Start by following [Adafruit's guide](https://learn.adafruit.com/circuitpython-o
For the record, the command are as following, however, Adafruit's page might have been updated, so please make sure this is still needed: For the record, the command are as following, however, Adafruit's page might have been updated, so please make sure this is still needed:
```sh ```sh
pip3 install RPI.GPIO sudo pip3 install RPI.GPIO
pip3 install adafruit-blinka sudo pip3 install adafruit-blinka
sudo pip3 install adafruit-circuitpython-motorkit sudo pip3 install adafruit-circuitpython-motorkit
``` ```
@ -312,7 +312,7 @@ sudo apt install mosquitto mosquitto-clients
In order to send and receive data from python, you need this library. Run the following: In order to send and receive data from python, you need this library. Run the following:
``` ```
pip3 install paho-mqtt sudo pip3 install paho-mqtt
``` ```
@ -349,7 +349,7 @@ MorphoCut is packaged on PyPI and can be installed with pip:
```sh ```sh
sudo apt install python3-scipy sudo apt install python3-scipy
pip3 install -U git+https://github.com/morphocut/morphocut.git sudo pip3 install -U git+https://github.com/morphocut/morphocut.git
``` ```
To test the installation, open up once again a python interpreter and import the morphocut module: To test the installation, open up once again a python interpreter and import the morphocut module: