UChicago-CCA-2021 / Frequently-Asked-Questions

Repository to ask questions - please use the issues page to ask your questions.
0 stars 0 forks source link

OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link ... #6

Open bhargavvader opened 3 years ago

bhargavvader commented 3 years ago

If you found yourself encountering this error, run python -m spacy download en in terminal and then run the command again.

bhargavvader commented 3 years ago

Check out this page for more details about what you are downloading: https://spacy.io/usage/models

Basically, think of them as these super lightweight neural based language models which perform a lot of the tasks which will be useful for us throughout the class.

sabinahartnett commented 3 years ago

Thanks! This solved that issue for me.

chuqingzhao commented 3 years ago

If you found yourself encountering this error, run python -m spacy download en in terminal and then run the command again.

Thank you! I have tried to run 'python -m spacy download en' in terminal, but I met requests exceptions error: image

Rui-echo-Pan commented 3 years ago

Same with @LouisaZhao1998 But I notice this is the problem with the connections, which I had met when requesting (scraping wiki), although I use VPN in China. My past solution is to use the VPN from US university, and the connection issue can always be solved, same with this time.

Unfortunately, downloading is tooooo slow, and then encounter another problem:

截屏2021-01-19 下午12 58 29

Is there any solution?

Rui-echo-Pan commented 3 years ago
截屏2021-01-19 下午1 43 21

Got solved! It's still due to the Internet connection problem. It's easily solved by changing to a better environment.

chuqingzhao commented 3 years ago

Thanks @Rui-echo-Pan . I can download the packages now, but when building dependencies, it shows another error "Could not build wheels for blis which use PEP 517 and cannot be installed directly". image

image

I run pip install --upgrade pip setuptools wheel. Though I also have downloaded pep517 and satisfied wheel, the error still comes up. image

Any solution to the wheel problem? Thanks in advance.

bhargavvader commented 3 years ago

Seems to be an issue with certain libraries for Windows and spaCy, a quick google search on errors to do with failed building wheels for blis turns up:

https://stackoverflow.com/questions/43370851/failed-building-wheel-for-spacy

https://github.com/explosion/spaCy/issues/3019

https://github.com/explosion/spaCy/issues/4581

https://stackoverflow.com/questions/56666186/error-complete-output-from-command-error-installing-spacy-using-pip

Seems to also maybe do with your python version and the compiler. Hopefully one of those links has the answer!