explosion/sense2vec

error trying to run 01_parse.py

angelo337 opened this issue · 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

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