UChicago-Computational-Content-Analysis / Frequently-Asked-Questions

0 stars 0 forks source link

[lucem_illud] Import problem #3

Open linhui1020 opened 2 years ago

linhui1020 commented 2 years ago

Hi,

I successfully installed illud package as instructed, but when I try to install lecem_illud, jupyter returns an error like below.

error 2022-01-13 上午11 22 error
Sirius2713 commented 2 years ago

I ran into the same problem before.

The problem resolved after running python -m spacy download en.

jacyanthis commented 2 years ago

Thanks for raising this, @linhui1020, and for providing a good solution, @Sirius2713. Most similar errors will be due to you missing certain Python content on your local machine, though only a few packages have separate content like this, such as Spacy and its English language model en (also known as en_core_web_sm).

This is the main reason Google Colab is easier for some students, because it has most NLP content already installed so you would rarely get this sort of error.

Also, it may be interesting sometimes to look at the lucem_illud source code, which can be found locally once you install it or on GitHub (e.g., processing.py).