commons icon indicating copy to clipboard operation
commons copied to clipboard

missing dep on wheel

Open jaybuff opened this issue 10 years ago • 4 comments

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

jaybuff avatar Jul 31 '14 16:07 jaybuff

Hm, should this possibly be 'remove twitter.common.python==0.7.0' ?

Yasumoto avatar Oct 06 '14 19:10 Yasumoto

wickman told me I should be installing pex like this:

python -m virtualenv ve
. ./ve/bin/activate; pip install pex

jaybuff avatar Oct 06 '14 19:10 jaybuff

Yes, seems a missing dependency. I've just fixed the same issue here by installing wheel: $ pip install wheel

LeMeteore avatar Apr 03 '15 00:04 LeMeteore

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.

wickman avatar Apr 03 '15 22:04 wickman