setuptools: ImportError during pip build with Setuptools 34 and pip 6.0
This is part of the traceback:
File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/setuptools/__init__.py", line 10, in <module>
from six.moves import filter, map
ImportError: No module named six.moves
This started when 34.0.2 was released, here are some examples of the nightlies it’s causing the fail:
https://travis-ci.org/python-excel/xlrd https://travis-ci.org/Mortar/mortar_import
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 17 (10 by maintainers)
Commits related to this issue
- Upgrade pip and setuptools before use Workaround for https://github.com/pypa/setuptools/issues/945 — committed to jacebrowning/template-python by jacebrowning 7 years ago
- Upgrade pip and setuptools before use Workaround for https://github.com/pypa/setuptools/issues/945 — committed to jacebrowning/template-python by jacebrowning 7 years ago
- Fixing setuptools version Until https://github.com/pypa/setuptools/issues/945 closes, we are tagging setuptools to latest known working version. Change-Id: I4d6a04fac12afcceacd33fcea2c4d009f8e62c2c — committed to openstack-archive/tripleo-quickstart-extras by arxcruz 7 years ago
- updated setuptools — committed to heroku/heroku-buildpack-python by kennethreitz 7 years ago
I took a stab in python-excel/xlrd#194 and it seems to be a suitable workaround. The issue lies with pip and I’ve detailed the problem and proposed solution in pypa/pip#4253.
@mgedmin - where would I put that in a .travis.yml? What’s the real fix here?