pip install fails. After manual resolutions, I still get ImportError
Possibly related: #177
$ rtx local python 3.8.18 # or 3.9.18 or 3.10.13
$ python -m venv venv
$ source venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
ERROR: Cannot install rasa==3.1.0 and sqlalchemy~=1.3.22 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested sqlalchemy~=1.3.22
rasa 3.1.0 depends on SQLAlchemy<1.5.0 and >=1.4.0
actions/requirements-actions.txt:
- sqlalchemy~=1.3.22
+ sqlalchemy<1.5.0,>=1.4.0
$ pip install -r requirements.txt
ERROR: Cannot install rasa-sdk==3.1.0 and rasa==3.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested rasa-sdk==3.1.0
rasa 3.1.0 depends on rasa-sdk<3.2.0 and >=3.1.1
requirements.txt:
- rasa-sdk==3.1.0
$ pip install -r requirements.txt
# success
$ rasa train
```
$ rasa train
Traceback (most recent call last):
File "/home/aphilas/src/financial-demo/venv/bin/rasa", line 5, in
from rasa.__main__ import main
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/rasa/__main__.py", line 14, in
from rasa.cli import (
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/rasa/cli/export.py", line 9, in
import rasa.core.utils
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/rasa/core/utils.py", line 14, in
from rasa.core.lock_store import LockStore, RedisLockStore, InMemoryLockStore
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/rasa/core/lock_store.py", line 13, in
from rasa.utils.endpoints import EndpointConfig
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/rasa/utils/endpoints.py", line 7, in
from sanic.request import Request
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/sanic/__init__.py", line 2, in
from sanic.app import Sanic
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/sanic/app.py", line 102, in
from sanic.server.protocols.websocket_protocol import WebSocketProtocol
File "/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/sanic/server/protocols/websocket_protocol.py", line 3, in
from websockets.connection import CLOSED, CLOSING, OPEN
ImportError: cannot import name 'CLOSED' from 'websockets.connection' (/home/aphilas/src/financial-demo/venv/lib/python3.9/site-packages/websockets/connection.py)
```
Can't get started on
main
.pip install
fails. After manual resolutions, I still getImportError
Possibly related: #177
actions/requirements-actions.txt:
requirements.txt:
$ rasa train
``` $ rasa train Traceback (most recent call last): File "/home/aphilas/src/financial-demo/venv/bin/rasa", line 5, in