Skip to content

Install from source: ModuleNotFoundError: No module named 'spacy.pipeline.pipe' #6887

@s3bk

Description

@s3bk

How to reproduce the problem

Follow the instructions in the Readme:

git clone https://github.com/explosion/spaCy
cd spaCy

python -m venv .env
source .env/bin/activate

# make sure you are using the latest pip
python -m pip install -U pip setuptools wheel

pip install .

Then running python:

Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sebk/src/spaCy/spacy/__init__.py", line 13, in <module>
    from . import pipeline  # noqa: F401
  File "/home/sebk/src/spaCy/spacy/pipeline/__init__.py", line 1, in <module>
    from .attributeruler import AttributeRuler
  File "/home/sebk/src/spaCy/spacy/pipeline/attributeruler.py", line 6, in <module>
    from .pipe import Pipe
ModuleNotFoundError: No module named 'spacy.pipeline.pipe'

Environment

  • Operating System: Ubuntu 18
  • Python Version Used: 3.6.9
  • spaCy Version Used: HEAD (3.0.1) (91a3cab)
  • Environment Information: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation and websiteinstallInstallation issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions