I’m getting an AttributeError trying to install Rasa X inside a virtualenv with python3.6. It seems to be a problem when building dependencies.
I ran pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
from my activated virtualenv.
Here’s the trace. Hope you can help me out! Rasa X seems great! I’m really eager to give it a try
ERROR: Complete output from command /home/nico/.virtualenvs/py3emi/bin/python3 /home/nico/.virtualenvs/py3emi/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-uta1ss_4/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://pypi.rasa.com/simple -- 'setuptools>=30.3.0' wheel setuptools_scm==3.2.0:
ERROR: Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nico/.virtualenvs/py3emi/lib/python3.6/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/home/nico/.virtualenvs/py3emi/lib/python3.6/site-packages/pip/_internal/__init__.py", line 4, in <module>
import locale
File "/home/nico/.virtualenvs/py3emi/lib/python3.6/locale.py", line 16, in <module>
import re
File "/home/nico/.virtualenvs/py3emi/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
ERROR: Command "/home/nico/.virtualenvs/py3emi/bin/python3 /home/nico/.virtualenvs/py3emi/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-uta1ss_4/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://pypi.rasa.com/simple -- 'setuptools>=30.3.0' wheel setuptools_scm==3.2.0" failed with error code 1 in None