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

Most upvoted comments

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?