Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors doing make install #671

Open
gitgithan opened this issue May 4, 2022 · 4 comments
Open

Errors doing make install #671

gitgithan opened this issue May 4, 2022 · 4 comments

Comments

@gitgithan
Copy link

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

  1. rasa-sdk 2.8.5
  2. requests 2.24.0
  3. urllib3 1.25.11
    which still breaks the rule rasa-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?

@sara-tagger
Copy link

Thanks for the issue, @joejuzl will get back to you about it soon!

You may find help in the docs and the forum, too 🤗

@Souheil-b
Copy link

Is there any new information? I am having the same issue...

@hussainwali74
Copy link

how to run duckling server? please help @Souheil-b

@Souheil-b
Copy link

I don’t know what is a duckling server sorry :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants