Reputation: 1114
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
Upvotes: 3
Views: 4500
Reputation: 21
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
Upvotes: 2
Reputation: 1814
I has simular issues, installing gcc solved it.
sudo apt-get install gcc
Upvotes: 2
Reputation: 144
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.
Upvotes: 1
Reputation: 2645
Try this:
1.switch to the admin terminal with:
sudo -H gnome-terminal
then retry pip install twisted
Upvotes: 1
Reputation: 1119
Your error says Permission Denied
meaning you need to run the command using sudo
:
sudo pip install twisted
Upvotes: 1