python - Installing Twisted through pip broken on one server -
i setting virtualenv on new server, , when used pip on our requirements file, kept dying on twisted. commented twisted line out, , else installed fine. @ command line, output see when try install twisted (the same error see when run entire requirements file once gets twisted line):
(foo)company@server:~$ pip install twisted collecting twisted not find version satisfies requirement twisted (from versions: ) no matching distribution found twisted
i can install twisted fine dev machine , other servers, , on server seem able install other packages fine.
case , version not matter. same result if use "twisted", "twisted", "twisted==15.2.1".
this ec2 instance running ubuntu 14.04.02.
ok after struggling several hours, figured out problem.
running pip install --verbose twisted
helped diagnosis.
the error message misleading. problem built custom installation of python 2.7.10 without having installed libbz2-dev. steps fix were:
sudo apt-get install libbz2-dev
cd /<untarred python source dir>
./configure --prefix=<my install path> --enable-ipv6
make
make install
with done, can create virtual environments , pip install twisted.
Comments
Post a Comment