I installed Python 3.7.5 and later 3.7.6, the same story. I need to install Pwin32
, numpy
, but can't do it.
I keep getting the error below. Installing on a virtual machine, same OS win10 1806, everything works fine.
D:\AAA\Python\Scripts>pip
*Traceback (most recent call last):
File "d:\aaa\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\aaa\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\AAA\Python\Scripts\pip.exe\__main__.py", line 2, in <module>
File "d:\aaa\python\lib\re.py", line 143, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'*
The OS is WIndows 10 version 1909 Any suggestion is much appreciated, I looked on the web, still have no clue why this is happening. thanks