When I run "pip install twisted" it shows "failed building wheel for twisted" How can I install "twisted" outside the virtualenv ? I'm using ubuntu 17.04 and Wheel version 0.30.0
Asked
Active
Viewed 4,372 times
5 Answers
2
Try this, it worked for me.
sudo apt-get install python3-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev
pip install --verbose twisted
pip install -U Channels

Ayush
- 21
- 1
-
all I needed was `sudo apt install python3-dev` – nihilok Feb 25 '21 at 18:05
1
Your error says Permission Denied
meaning you need to run the command using sudo
:
sudo pip install twisted

gommb
- 1,121
- 1
- 7
- 21
1
Try this:
1.switch to the admin terminal with:
sudo -H gnome-terminal
then retry pip install twisted

Simon Mengong
- 2,625
- 10
- 22
1
Please check the error log, the "Permission denied" error is thrown.
You may try pip install --user twisted
(recommended) or sudo pip install twisted
instead.

Yaoshicn
- 144
- 9