installing language packages too slow #7374
-
I'm aware that the issue has been raised before, but the proposed solution is just as slow. How to reproduce the problemTrying to install a language package averages 10kb/s. The connection will time out and the install fail before that's finished.
In the issue above, it was suggested to download the package from a browser using the same link. The download speed from the browser is even slower, 2 kb/s! And no, this isn't down to my internet connection. A package that isn't quickly downloadable from pip is pretty much useless to anyone who really uses virtual environments and needs to create one often. Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The model downloads are github assets and github can be slow sometimes. All we can suggest is to wait a bit and try again, maybe checking https://www.githubstatus.com to see if there's any more info if it seems like it's not resolved relatively quickly. If you are frequently downloading the same model packages, the solution is to download them once however you like ( pip install /path/to/de_core_news_sm-2.3.0.tar.gz |
Beta Was this translation helpful? Give feedback.
The model downloads are github assets and github can be slow sometimes. All we can suggest is to wait a bit and try again, maybe checking https://www.githubstatus.com to see if there's any more info if it seems like it's not resolved relatively quickly.
If you are frequently downloading the same model packages, the solution is to download them once however you like (
wget
, browser, etc.) and then install them withpip
from the local file in each new venv: