setuptools: ModuleNotFoundError: No module named 'six'

Created on 7 Feb 2017  路  7Comments  路  Source: pypa/setuptools

Building setuptools in the standard way I've used forever fails:
````

/usr/pkg/bin/python3.6 setup.py build

Traceback (most recent call last):
File "setup.py", line 11, in
import setuptools
File ".../setuptools-34.1.1/setuptools/__init__.py", line 10, in
from six.moves import filter, map
ModuleNotFoundError: No module named 'six'
````
It looks like setuptools now added a six dependency, which breaks distributions that build from scratch, because six uses setuptools for installation (dependency cycle).

invalid

Most helpful comment

All 7 comments

Was this page helpful?
0 / 5 - 0 ratings