Errors doing `make install`
gitgithan opened this issue · 4 comments
I'm trying to setup rasa-demo on python 3.7.13 in a pyenv-virtualenv on macOS Big Sur non-M1.
If I just do make install
, it will be a very slow install process about 30min, ending with a sklearn error ERROR: Command errored out with exit status 1:
.
If i edit Makefile
to use python -m pip install --upgrade "pip==22.0.4"
instead of "pip<20"
, it will be way faster, but end up with
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of rasa to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r actions/requirements-actions.txt (line 5) and rasa because these package versions have conflicting dependencies.
The conflict is caused by:
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
rasa-sdk 2.8.5 depends on urllib3<2.0.0 and >=1.26.5
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
rasa-sdk 2.8.4 depends on urllib3<2.0.0 and >=1.26.5
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
rasa-sdk 2.8.3 depends on urllib3<2.0.0 and >=1.26.5
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
rasa-sdk 2.8.2 depends on urllib3<2.0.0 and >=1.26.5
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
rasa-sdk 2.8.1 depends on urllib3<2.0.0 and >=1.26.5
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
make: *** [install] Error 1
Finally, if i edit make to use python -m pip install --upgrade "pip==20.2"
it installs without error.
Checking to see whether the aforemention conflicts were resolved, i'm surprised to see from pip list
- rasa-sdk 2.8.5
- requests 2.24.0
- urllib3 1.25.11
which still breaks the rulerasa-sdk 2.8.5 depends on urllib3<2.0.0 and >=1.26.5
, so why did pip 22.0.4 error out while pip 20.2 have no issues?
More importantly, how do we know which Rasa projects have been tested on what OS/environments?
Is there any new information? I am having the same issue...
how to run duckling server? please help @Souheil-b
I don’t know what is a duckling server sorry :/