3

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

Simon Mengong
  • 2,625
  • 10
  • 22
user7418129
  • 1,074
  • 14
  • 18

5 Answers5

2

I has simular issues, installing gcc solved it.

sudo apt-get install gcc
krizajb
  • 1,715
  • 3
  • 30
  • 43
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
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