# Pip install rasa-x not working (local mode). Still takes to long

**URL:** <https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [October 6, 2021, 1:11pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247 "2021-10-06T13:11:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 6, 2021, 1:11pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/1 "2021-10-06T13:11:02Z")

</div>

OS: MacOS BigSur, Local Mode Installation of rasa-x on a blank python3.7 venv: Hangs for hours!

INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: [https://pip.pypa.io/surveys/backtracking](https://pip.pypa.io/surveys/backtracking)

I already tried all I found here, downgrading pip to 20.2 does not work: got compatibility errors for several libraries.

pip install --use-deprecated=legacy-resolver rasa-x --extra-index-url [Simple Index](https://pypi.rasa.com/simple)

results in:

ERROR: pip’s legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.

rasa 2.8.7 requires aiohttp!=3.7.4.post0,\<3.8,\>=3.6, but you’ll have aiohttp 3.7.4.post0 which is incompatible. rasa 2.8.7 requires apscheduler\<3.8,\>=3.6, but you’ll have apscheduler 3.8.0 which is incompatible. rasa 2.8.7 requires sanic-jwt\<1.7.0,\>=1.3.2, but you’ll have sanic-jwt 1.7.0 which is incompatible.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 6, 2021, 1:41pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/2 "2021-10-06T13:41:39Z")

</div>

@CyberJoe hello, can you share rasa --version, while running in conda based environment?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [October 6, 2021, 1:44pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/3 "2021-10-06T13:44:12Z")

</div>

Hello and welcome to the forum 🙂

Upgrade Pip to the latest version and do

```nohighlight
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple --use-deprecated=legacy-resolver 

```

as you mentioned.

Then you may get conflicts. After this, do

```nohighlight
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
pip install rasa rasa-x --extra-index-url https://pypi.rasa.com/simple
pip install rasa

```

Repeat until the conflicts get resolved 😂 It’s an ugly solution but it works.

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 11:45am UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/4 "2021-10-12T11:45:07Z")

</div>

rasa --version Rasa Version : 2.8.7 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : None Python Version : 3.7.3 Operating System : Darwin-20.6.0-x86\_64-i386-64bit Python Path : /Users/jochen2.mueller/dev/Rasa/rasa\_search\_intent\_de/venv/bin/python

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 12, 2021, 11:48am UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/5 "2021-10-12T11:48:48Z")

</div>

@CyberJoe

Please install Anaconda from [Anaconda | Individual Edition](https://www.anaconda.com/products/individual) , then create the conda environment using the following command

1. conda create -n rasa3 python=3.8
2. conda activate rasa 3

**Note:** I’d recommend to create a fresh environment if not you can proceed with next steps:

**For Rasa Open Source:**

```auto
`pip install rasa==2.8.1`
`pip install rasa-sdk==2.8.1'

```

check version `rasa --version` its install or not

**For Installing basic project:**

`rasa init`

then if you need

**For Rasa-X Installation**

`pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

check rasa version `rasa --version` its install or not

You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install

`pip install SQLAlchemy==1.3.22` should fix it

If sanic related error: `pip install sanic-jwt==1.6.0`

delete .db (events and rasa ) if is showing alembic issue.

If you have any error in-between please share with us.

I hope this will solve your issue.

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 11:52am UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/6 "2021-10-12T11:52:35Z")

</div>

> [@ChrisRahme](#):
>
> `pip install rasa`

Did it the ChrisRahme-way and I got it installed. But when I try to start it, I now get a…

**OSError: [Errno 48] error while attempting to bind on address (‘0.0.0.0’, 5002): address already in use****2021-10-12 13:49:43 ERROR sanic.root - Unable to start server.**

We are currently evaluating against SAP CAI, … would be nice getting it up and running in time.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 12, 2021, 11:57am UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/7 "2021-10-12T11:57:02Z")

</div>

@CyberJoe can you share the error screenshot? a complete one?

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 12:03pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/9 "2021-10-12T12:03:55Z")

</div>

Python is 3.7.3 Installed a nice new venv. Did all the stuff ChrisR. mentioned. Installation now completes. Rasa is: rasa --version Rasa Version : 2.8.7 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : 0.42.3 Python Version : 3.7.3 Operating System : Darwin-20.6.0-x86\_64-i386-64bit Python Path : /Users/jochen2.mueller/dev/Rasa/rasa\_search\_intent\_de/venv/bin/python

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 12:05pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/10 "2021-10-12T12:05:44Z")

</div>

![Bildschirmfoto 2021-10-12 um 14.05.04](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/a/ba2a136c5963b292998082bcdbed38374160f163.png)

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 12:24pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/11 "2021-10-12T12:24:10Z")

</div>

I again tried the --rasa-x-port parameter to set the port \<\> 5002… AND IT WORKS!

---

<div class="post-metadata">

**Author:** ![CyberJoe](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CyberJoe](https://forum.rasa.com/u/CyberJoe)\
**Post date:** [October 12, 2021, 12:24pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/12 "2021-10-12T12:24:45Z")

</div>

Oh man… You should update your local mode installation guide!

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 12, 2021, 3:00pm UTC](https://forum.rasa.com/t/pip-install-rasa-x-not-working-local-mode-still-takes-to-long/48247/13 "2021-10-12T15:00:30Z")

</div>

@CyberJoe Thanks, surely we will update the documentation and can you please share the complete solution for the other readers and close this thread.
