我正在尝试在Python上安装软件包。在为pip3命令设置别名(pip3 = pip)之后,例如,如果我输入命令“ pip list”,则会看到以下消息:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3", line 4, in <module>
import re
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 143, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'.
这是什么问题?我该怎么办?谢谢