Installation problem with spacy-nightly v2.0.0a14

I tried reinstalling with a fresh environment. I still get

    mod_name, mod_spec, code = _get_module_details(mod_name)
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 118, in _get_module_details
    return _get_module_details(pkg_main_name)
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 104, in _get_module_details
    spec = importlib.util.find_spec(mod_name)
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/importlib/util.py", line 88, in find_spec
    parent = __import__(parent_name, fromlist=['__path__'])
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/prodigy/__init__.py", line 4, in <module>
    from . import recipes, about  # noqa
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/prodigy/recipes/__init__.py", line 4, in <module>
    from . import ner, textcat, compare, terms, generic # noqa
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/prodigy/recipes/ner.py", line 7, in <module>
    import spacy
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/spacy/__init__.py", line 4, in <module>
    from .cli.info import info as cli_info
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/spacy/cli/__init__.py", line 6, in <module>
    from .train import train
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/spacy/cli/train.py", line 17, in <module>
    from ..tokens.doc import Doc
  File "/Users/crivera5/.virtual_envs/spacy_python3/lib/python3.5/site-packages/spacy/tokens/__init__.py", line 1, in <module>
    from .doc import Doc
  File "morphology.pxd", line 25, in init spacy.tokens.doc```

@crivera This is a very strange error indeed :thinking: We just sent out a new version that makes Prodigy compatible with spaCy v2.0. Could you download this one and try again?

Which did you update? Prodigy or Spacy? I will try tomorrow. Thanks!!!

@crivera Both – and Thinc :wink: But as I said, you don’t have to worry about any dependencies. Just download the new Prodigy wheel, install it in a fresh environment, and everything else will be installed automatically. This is also the best way to avoid installation issues and dependency mismatches.

Installation finally worked again with the newest version. Thanks!

1 Like