brian wickman
brian wickman
This error message is indicative of importing from a zipped egg and having that egg rewritten at some point in the lifecycle of the running process. Zipimport caches zip headers,...
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.
out of curiosity, when you do ./pants py -v, does it list more than one interpreter? it's possible you have a good interpreter and a bad interpreter (when it comes...
the version on pypi does (-p/--python) -- it's just not synced with commons yet.
Our internal twitter.common.python has been updated numerous times since the last sync to twitter-commons, so it's possible this issue has already been fixed internally as well. We published twitter.common.python artifacts...
Could you run: PANTS_VERBOSE=1 PEX_VERBOSE=1 ./pants and paste the output? Looks like pants is failing to bootstrap itself.
on LinuxMint, it looks like your Python environment is not set up to allow for C extensions to be built. you probably need to install the development package for Python,...
This seems related: https://github.com/twitter/commons/issues/66 It appears the pull request (/67) has been merged in. Not sure why it's still breaking.
Implemented at a835b126a.
thanks for the report. I'll take a closer look.