Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error trying to run 01_parse.py #111

Open
angelo337 opened this issue Jun 5, 2020 · 1 comment
Open

error trying to run 01_parse.py #111

angelo337 opened this issue Jun 5, 2020 · 1 comment

Comments

@angelo337
Copy link

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

@danielmoore19
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants