rasa-nlu-examples icon indicating copy to clipboard operation
rasa-nlu-examples copied to clipboard

Installation taking lots of time

Open hiiamsid opened this issue 3 years ago • 2 comments

python -m pip install "rasa_nlu_examples @ git+https://github.com/RasaHQ/rasa-nlu-examples.git"

Running above for installation is taking lots of time. Observing logs it seems that for each package it is downloading multiple versions and finally checking which version will supports with exisiting environment. Eg.

INFO: pip is looking at multiple versions of sanic to determine which version is compatible with other requirements. This could take a while. Collecting sanic<22.0.0,>=21.6.0 Downloading sanic-21.12.0-py3-none-any.whl (139 kB) |████████████████████████████████| 139 kB 49.8 MB/s Downloading sanic-21.9.3-py3-none-any.whl (120 kB) |████████████████████████████████| 120 kB 58.7 MB/s INFO: pip is looking at multiple versions of aiofiles to determine which version is compatible with other requirements. This could take a while. Downloading sanic-21.9.2-py3-none-any.whl (120 kB) |████████████████████████████████| 120 kB 55.2 MB/s Downloading sanic-21.9.1-py3-none-any.whl (119 kB) |████████████████████████████████| 119 kB 44.9 MB/s 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 Downloading sanic-21.9.0-py3-none-any.whl (119 kB) |████████████████████████████████| 119 kB 53.9 MB/s Downloading sanic-21.6.2-py3-none-any.whl (94 kB) |████████████████████████████████| 94 kB 3.8 MB/s Downloading sanic-21.6.1-py3-none-any.whl (94 kB) |████████████████████████████████| 94 kB 3.8 MB/s INFO: pip is looking at multiple versions of sanic to determine which version is compatible with other requirements. This could take a while. 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 Downloading sanic-21.6.0-py3-none-any.whl (94 kB) |████████████████████████████████| 94 kB 3.2 MB/s

hiiamsid avatar Mar 04 '22 09:03 hiiamsid

#followup:

The command is installing version 0.3.0 by default but since my existing service is on rasa 2. i need rasa-nlu-examples version 0.2.5. How to make this command install packages for version 0.2.5

hiiamsid avatar Mar 04 '22 10:03 hiiamsid

Thanks for raising this issue, @akelad 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 🤗

sara-tagger avatar Mar 04 '22 13:03 sara-tagger