Installation Error "No module named cymem.cymem" El Capitan, Ananconda, spacy-0.99
See original GitHub issueI am on Mac OSX El Capitan and using Anaconda with a fresh install of python in my home dir.
MacBook-Pro:anaconda vikram$ which python /Users/vikram/anaconda/bin/python
When running python -m spacy.en.download all I get the error: /Users/vikram/anaconda/bin/python: No module named cymem.cymem
While installing spacy there was a message about possible conflict in cymem package which it automatically resolved.
MacBook-Pro:anaconda vikram$ conda install spacy Fetching package metadata: … Solving package specifications: … Warning: 4 possible package resolutions (only showing differing packages): [u’cymem-1.30-0.tar.bz2’, u’murmurhash-0.24-0.tar.bz2’], [u’cymem-1.30-py27_0.tar.bz2’, u’murmurhash-0.24-0.tar.bz2’], [u’cymem-1.30-py27_0.tar.bz2’, u’murmurhash-0.24-py27_0.tar.bz2’], [u’cymem-1.30-0.tar.bz2’, u’murmurhash-0.24-py27_0.tar.bz2’],
Package plan for installation in environment /Users/vikram/anaconda:
The following packages will be downloaded:
package | build |
---|---|
python-2.7.11 | 0 9.9 MB |
cloudpickle-0.1.1 | py27_0 15 KB |
conda-env-2.4.5 | py27_0 24 KB |
cymem-1.30 | 0 39 KB |
murmurhash-0.24 | 0 15 KB |
plac-0.9.1 | py27_0 31 KB |
setuptools-18.5 | py27_0 343 KB |
text-unidecode-1.0 | py27_0 62 KB |
conda-3.18.9 | py27_0 176 KB |
preshed-0.44 | py27_0 85 KB |
thinc-4.0.0 | py27_0 207 KB |
spacy-0.99 | np110py27_0 2.6 MB |
------------------------------------------------------------
Total: 13.5 MB
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
This is some great debugging — we really appreciate this, thanks!
If you just want to get up and running, it seems easier to use
pip
instead ofconda
, as it seems our package onconda
isn’t correct. While we sort the issue out, I suggest the following:\1. Start with a clean conda environment
The
conda create
command requires you to specify at least one package to install. I always find this super confusing. The important thing here is that you can’t writespacy
! If you do,spacy
will be installed from the conda package, when we want to install it from pip.\2. Activate the environment
source activate myenv
\3. Install with pip
pip install spacy
\4. Install data
python -m spacy.en.download --force all
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.