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

Inconsistent requirements in Rasa 1.6.0 #5040

Closed
staticdev opened this issue Jan 5, 2020 · 3 comments · Fixed by #5071
Closed

Inconsistent requirements in Rasa 1.6.0 #5040

staticdev opened this issue Jan 5, 2020 · 3 comments · Fixed by #5071
Labels
type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@staticdev
Copy link
Contributor

staticdev commented Jan 5, 2020

Rasa version: 1.6.0

Rasa SDK version (if used & relevant):

Rasa X version (if used & relevant):

Python version: Python 3.7.5

Operating system (windows, osx, ...): Ubuntu 19.10

Issue: When I try to train my models I was getting a warning:
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.7) or chardet (3.0.4) doesn't match a supported version!

I tried to solve that installing the newer version o requests 2.22.0 (which is in rasa's requirements.txt). When I do that I get: ERROR: rasa 1.6.0 has requirement networkx~=2.3.0, but you'll have networkx 2.4 which is incompatible.. That is odd, since rasa needs requests 2.22.0 which needs networkx 2.4. I think a quickfix would be just upgrading the requirements.txt from rasa to networkx 2.4.

Logs:

pip3 install --upgrade requests --user
Collecting requests
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests) (3.0.4)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /usr/lib/python3/dist-packages (from requests) (2.6)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests) (1.25.7)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests) (2018.8.24)
ERROR: rasa 1.6.0 has requirement networkx~=2.3.0, but you'll have networkx 2.4 which is incompatible.
@staticdev staticdev added the type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jan 5, 2020
@staticdev
Copy link
Contributor Author

Pull request #5041.

@sara-tagger
Copy link
Collaborator

Thanks for raising this issue, @JustinaPetr will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

staticdev pushed a commit to staticdev/rasa that referenced this issue Jan 14, 2020
@staticdev
Copy link
Contributor Author

@JustinaPetr I had a problem with my first fork but I recreated the pull request (#5071). Can you get a reviewer for that? Thanks.

tmbo added a commit that referenced this issue Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
2 participants