
Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/local/lib/python3.6/dist-packages/pip/__main__.py", line 16, in <module>

from pip._internal.main import main as _main
# isort:skip # noqa


 "/usr/local/lib/python3.6/dist-packages/pip/_internal/main.py", line 8, in <module>

import locale


 "/usr/lib/python3.6/locale.py", line 16, in <module>

import re


 "/usr/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

Traceback (most recent call last):


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\Scripts\rqalpha-script.py", line 11, in <module>

load_entry_point('rqalpha==3.4.4', 'console_scripts', 'rqalpha')()


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\rqalpha\__main__.py", line 69, in entry_point

cli(obj={})


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\click\core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\click\core.py", line 717, in main

rv = self.invoke(ctx)


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\click\core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\click\core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\click\core.py", line 555, in invoke

return callback(*args, **kwargs)


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\rqalpha\__main__.py", line 390, in mod

locals()[cmd](params)


 "C:\Users\liugw\Anaconda3\envs\rqalpha-mod-hello\lib\site-packages\rqalpha\__main__.py", line 237, in install

pip_main = pip_main.main
AttributeError: 'function' object has no attribute 'main'