Skip to content

Commit 7186245

Browse files
peterbarkerHuibean
authored andcommitted
README.md: stop suggesting installation of dronecan-gui-tool with sudo
1 parent 9cbf632 commit 7186245

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ but it may come in handy when using the embedded IPython console.
4040
```bash
4141
sudo apt-get install -y python3-pip python3-setuptools python3-wheel
4242
sudo apt-get install -y python3-numpy python3-pyqt5 python3-pyqt5.qtsvg git-core
43-
sudo pip3 install git+https://github.com/DroneCAN/gui_tool@master
43+
python3 -m pip install git+https://github.com/DroneCAN/gui_tool@master
4444
```
4545

4646
#### Troubleshooting
4747

48-
If installation fails with an error like below, try to install IPython directly with `sudo pip3 install ipython`:
48+
If installation fails with an error like below, try to install IPython directly with `python3 -m pip install ipython`:
4949

5050
> error: Setup script exited with error in ipython setup command:
5151
> Invalid environment marker: sys_platform == "darwin" and platform_python_implementation == "CPython"
@@ -59,7 +59,7 @@ If you're still unable to install the package, please open a ticket.
5959
#### Fedora 29+
6060
```bash
6161
sudo dnf install python3-PyQt5
62-
sudo pip3 install git+https://github.com/DroneCAN/gui_tool@master
62+
python3 -m pip install git+https://github.com/DroneCAN/gui_tool@master
6363
```
6464

6565
## Installing on Windows
@@ -101,7 +101,7 @@ If you're prompted to install Command Line Developer Tools, agree.
101101
```bash
102102
sudo port selfupdate
103103
sudo port install curl-ca-bundle py35-pip py35-pyqt5 py35-numpy
104-
sudo python3.5 -m pip install git+https://github.com/DroneCAN/gui_tool@master
104+
python3.5 -m pip install git+https://github.com/DroneCAN/gui_tool@master
105105
```
106106

107107
We would like to provide prebuilt application packages instead of the mess above.

0 commit comments

Comments
 (0)