sense2vec icon indicating copy to clipboard operation
sense2vec copied to clipboard

error trying to run 01_parse.py

Open angelo337 opened this issue 4 years ago • 1 comments

hi there I just trying your model and I'm Getting this error:

Original exception was:
Traceback (most recent call last):
  File "scripts/01_parse.py", line 3, in <module>
    from spacy.tokens import DocBin
ImportError: cannot import name 'DocBin'

I just install Spacy 2.2.4 and get latest version of this Pack. could you please help me? thanks

angelo337 avatar Jun 05 '20 00:06 angelo337

Hi angelo! instead of using a pip install, trying building and installing from the git repo (solved multiple issues for me).

run first: !python setup.py build

then run: !python setup.py install

hopefully this helps you or the next person who comes along.

learned from issue #107

danielmoore19 avatar Dec 23 '20 19:12 danielmoore19