python安装setuptools报错Traceback (most recent call last): File "setup.py", line 11, in i

python3.6.1在安装setuptools时,执行python setup.py install 时报错,如下

Traceback (most recent call last):

  File "setup.py", line 11, in
    import setuptools
  File "C:\python\setuptools-35.0.2\setuptools\__init__.py", line 10, in
    from six.moves import filter, map

ModuleNotFoundError: No module named 'six'


解决办法输入:pip install six


后续如果依旧确实module,pip install XXXX

所有的module都存在,

执行python setup.py install

setuptools安装成功。

你可能感兴趣的:(python安装setuptools报错Traceback (most recent call last): File "setup.py", line 11, in i)