我的Python 2.7 anaconda运行得非常好,但是当我卸载它并在Windows 10上安装了3.6 python的anaconda时,它没有启动,Spyder也没有打开。 我从anaconda提示中获得了以下回溯。 我删除了一些早期帖子中建议的.lock文件。
Traceback (most recent call last):
File "C:\Users\Being_Rohit\Anaconda3\Scripts\conda-script.py", line 3, in
<module>
import conda.cli
File "C:\Users\Being_Rohit\Anaconda3\lib\site-
packages\conda\cli\__init__.py", line 8, in <module>
from .main import main # NOQA
File "C:\Users\Being_Rohit\Anaconda3\lib\site-packages\conda\cli\main.py",
line 42, in <module>
from argparse import SUPPRESS
File "C:\Users\Being_Rohit\Anaconda3\lib\argparse.py", line 89, in <module>
import re as _re
File "C:\Users\Being_Rohit\Anaconda3\lib\re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'