When it becomes Cannot import name "Feature" from "setuptools".

When it becomes Cannot import name "Feature" from "setuptools".

ERROR: Command errored out with exit status 1:

[Omitted]

interface/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/69/cj8h85bs7cvbxs4l0qqlwdxh0000gn/T/pip-install-nz65irhj/zope.interface/setup.py", line 26, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature' from 'setuptools' 
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

When it feels like

pip3 install setuptools==45

And solve it.

Ref.

https://github.com/pypa/setuptools/issues/2017

Recommended Posts

When it becomes Cannot import name "Feature" from "setuptools".
What to do when "cannot import name xxx" [Python]
ImportError: cannot resolve import name
ImportError: cannot resolve import name
from scipy.misc If "ImportError: cannot import name imread" occurs in import imread, imresize
When I name the file flask.py in Flask, I get Import Error: cannot import name'Flask'
Investigation when import cannot be done with python