-
Could not import setuptools which is required to install from a source distribution.
-
Traceback (most recent call last):
-
File "D:\Anaconda\anaconda\envs\tensorflow\lib\site-packages\pip\req\req_install.py", line 387, in setup_py
-
import setuptools # noqa
-
File "D:\Anaconda\anaconda\envs\tensorflow\lib\site-packages\setuptools\__init__.py", line 13, in <module>
-
from ._deprecation_warning import SetuptoolsDeprecationWarning
-
ModuleNotFoundError: No module named 'setuptools._deprecation_warning'
解决办法:pip install --upgrade setuptools
问题解决!!!
来源:https://blog.csdn.net/qq_42006303/article/details/88170066