chartbeat-labs / textacy

NLP, before and after spaCy
https://textacy.readthedocs.io
Other
2.21k stars 249 forks source link

Error importing Textacy #201

Closed numericlee closed 6 years ago

numericlee commented 6 years ago

@bdewilde

When I import Textacy to python, I get the following error

Traceback (most recent call last): File "/FNLP/vectorize2.py", line 7, in import textacy, textacy.datasets, textacy.similarity as Sim File "/home/lwalzer/anaconda3/lib/python3.6/site-packages/textacy/init.py", line 27, in from textacy.corpus import Corpus File "/home/lwalzer/anaconda3/lib/python3.6/site-packages/textacy/corpus.py", line 17, in from spacy.pipeline import DependencyParser ModuleNotFoundError: No module named 'spacy.pipeline'

I see some discussion in issue 185 of a related issue

Environment

spacy 0.101.0 on ubutnu python 3.6.0

bdewilde commented 6 years ago

Hi @numericlee , textacy is only compatible with spacy>=2.0.0; please upgrade your version from 0.101.0.