commons
commons copied to clipboard
missing dep on wheel
It looks like sometime between 0.6.0 and 0.7.0 a hard dependency on wheel was introduced.
If I install pex like this:
python -m virtualenv ve
. ./ve/bin/activate; pip install twitter.common.python
Then I run pex I get this error:
pex.installer.IncapableInterpreter: Interpreter PythonInterpreter('/vagrant/aurora-training/ve/bin/python', PythonIdentity('CPython', 2, 6, 6), {('twitter.common.python', '0.7.0'): '/vagrant/aurora-training/ve/lib/python2.6/site-packages', ('pip', '1.5.6'): '/vagrant/aurora-training/ve/lib/python2.6/site-packages', ('pex', '0.7.0'): '/vagrant/aurora-training/ve/lib/python2.6/site-packages', ('python', '2.6.6'): '/usr/lib64/python2.6/lib-dynload', ('setuptools', '3.6'): '/vagrant/aurora-training/ve/lib/python2.6/site-packages'}) not capable of running WheelInstaller
It works when I use twitter.common.python==0.6.0
Hm, should this possibly be 'remove twitter.common.python==0.7.0' ?
wickman told me I should be installing pex like this:
python -m virtualenv ve
. ./ve/bin/activate; pip install pex
Yes, seems a missing dependency. I've just fixed the same issue here by installing wheel:
$ pip install wheel
There is a fix for this here: https://github.com/pantsbuild/pex/pull/49
I dropped the ball on it but will probably address it this upcoming week during the pycon sprints.