Successfully solve the ImportError: cannot import name'Feature' from'setuptools' error when installing the library in python3

Error message: ImportError: cannot import name'Feature' from'setuptools'

Checking the related documents found that it was a problem with the version of setuptool. The setuptools in the python3 source has been upgraded to 46 or above (the version of the setuptools in the python3 source is too high, just lower the version a bit). Therefore, the pip installation failed, and the setuptools version was updated.

Execute the following command:

pip install --upgrade pip setuptools==45.2.0

Then after reinstalling, the installation is successful and the pro-test is valid.

Guess you like

Origin blog.csdn.net/xiaoan08133192/article/details/109028089