# Error installing Rasa X, building dependencies

**URL:** <https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Tags:** installation\
**Created:** [May 21, 2019, 9:03pm UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101 "2019-05-21T21:03:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicoTrombon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nicotrombon/32/2978_2.png) [@nicoTrombon](https://forum.rasa.com/u/nicoTrombon)\
**Post date:** [May 21, 2019, 9:03pm UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/1 "2019-05-21T21:03:03Z")

</div>

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 🙂

```auto
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

```

---

<div class="post-metadata">

**Author:** ![FelixKing](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@FelixKing](https://forum.rasa.com/u/FelixKing)\
**Post date:** [May 22, 2019, 12:47am UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/2 "2019-05-22T00:47:45Z")

</div>

I wish I had an answer for you, I am eager as well, I think they need a troubleshooting page along side the install. I ran into an issue as well and since it’s so new I haven’t found any troubleshooting help. Hopefully soon

---

<div class="post-metadata">

**Author:** ![tomtomtom](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@tomtomtom](https://forum.rasa.com/u/tomtomtom)\
**Post date:** [May 22, 2019, 7:37am UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/3 "2019-05-22T07:37:30Z")

</div>

People here suggest, that the enum34 module could be installed as a dependency by another package and thus masks the enum package from python itself.

Try checking if the enum34 module has been installed and if so, uninstall it first, before trying to install rasa-x

> <https://stackoverflow.com/questions/43124775/why-python-3-6-1-throws-attributeerror-module-enum-has-no-attribute-intflag>

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [May 22, 2019, 7:55am UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/4 "2019-05-22T07:55:42Z")

</div>

@nicoTrombon have you managed to resolve it with the info provided in that link? Sadly I haven’t encountered this issue so far.

@FelixKing what kind of issues did you have?

Great to see you all trying out Rasa X!

---

<div class="post-metadata">

**Author:** ![nicoTrombon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nicotrombon/32/2978_2.png) [@nicoTrombon](https://forum.rasa.com/u/nicoTrombon)\
**Post date:** [May 23, 2019, 3:00pm UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/5 "2019-05-23T15:00:54Z")

</div>

Hi @tomtomtom and @akelad, thanks! I’ll try checking the enum34 module, to see if it has something to do and I’ll let you know!

---

<div class="post-metadata">

**Author:** ![nicoTrombon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nicotrombon/32/2978_2.png) [@nicoTrombon](https://forum.rasa.com/u/nicoTrombon)\
**Post date:** [May 23, 2019, 3:05pm UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/6 "2019-05-23T15:05:08Z")

</div>

> [@nicoTrombon](#):
>
> pip install rasa-x --extra-index-url [Simple Index](https://pypi.rasa.com/simple)

It worked! Thank you @tomtomtom!

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [May 24, 2019, 1:01pm UTC](https://forum.rasa.com/t/error-installing-rasa-x-building-dependencies/10101/7 "2019-05-24T13:01:16Z")

</div>

Glad you got it working! Would you both be up for filling out a feedback form once you’ve used Rasa X a bit? [Product Feedback - Rasa X](https://rasahq.typeform.com/to/NSJvZM)
