赞
踩
ERROR: Command errored out with exit status 1: command: 'D:\software\anaconda3\python.exe' 'D:\software\anaconda3\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\WANGSH~1\AppData\Local\Temp\pip-build-env-_k8ekzrl\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools cwd: None Complete output (14 lines): Traceback (most recent call last): File "D:\software\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "D:\software\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\software\anaconda3\lib\site-packages\pip\__main__.py", line 16, in <module> from pip._internal.cli. main import main as _main # isort:skip # noqa File "D:\software\anaconda3\lib\site-packages\pip\_internal\cli\main.py", line 5, in <module> import locale File "D:\software\anaconda3\lib\locale.py", line 16, in <module> import re File "D:\software\anaconda3\lib\re.py", line 143, in <module> class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag' ---------------------------------------- ERROR: Command errored out with exit status 1: 'D:\software\anaconda3\python.exe' 'D:\software\anaconda3\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\WANGSH~1\AppData\Local\Temp\pip-build-env-_k8ekzrl\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools Check the logs for full command output.
1. 定位到 Python 安装目录下的 : \Lib\site-packages 目录
2. 删除 enum 打头的两个文件夹即可
文末联系
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。