Error installing spaCy
See original GitHub issueI installed spacy using
sudo pip install spacy
Within Python version 2.7.11, I try
>>> import spacy
and the following error is returned:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Trying within the Terminal
python -m spacy.en.download --force all
outputs
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named spacy.en
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Python Cannot install module spaCy - Stack Overflow
15 Answers 15 · Go to C:\Users\XYZ\AppData\Local\pip and then delete the cache folder · Then upgrade your pip python -m pip install --upgrade...
Read more >Install spaCy · spaCy Usage Documentation
This error means that the spaCy module can't be located on your system, or in your environment. Make sure you have spaCy installed....
Read more >Cannot Install Spacy on Windows 10 for Python 3.8 #5423
I have installed a Python 3.8.2 and put in "pip install -U spacy" to CMD ... (6.1 MB) Installing build dependencies ... error...
Read more >spacy 1.8.2 - PyPI
spaCy is a library for advanced natural language processing in Python and Cython. spaCy is built on the very latest research, but it...
Read more >ModuleNotFoundError: No module named 'spacy' in Python
The Python "ModuleNotFoundError: No module named 'spacy'" occurs when we forget to install the spacy module before importing it or install it in ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m having a similar problem while installing spacy. As I’m working with python3 in pycharm, I tried:
python3 -m spacy.en.download --force all
Spacy seems to be installed on the system:
$ pip list | grep spacy
spacy (1.9.0)
But when I run my code, I get following error:
ImportError: No module named 'spacy'
I already tried running the installation from the anaconda folder, using:
conda install -c conda-forge spacy=1.9.0
But it doesn’t seem to work… Can anyone help me to resolve this issue?
Apologies for the inconvenience.
My
pip
is actually set to Python 3.4 (I expected that to bepip3
).Therefore, I should use
Please close. Sorry, I am a fool.