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

pip subprocess to install build dependencies did not run successfully. #32

Open
KegenGuyll opened this issue Mar 14, 2024 · 1 comment

Comments

@KegenGuyll
Copy link

I'm new to Python so please forgive me for any simple errors, but I'm using spacy-3.1.7 and python 3.12.2 on Windows 64bit. I have successfully installed Spacy and was able to run it without a problem, but I run into this error when trying to install coreferee. I can post more error logs if needed.

python3 -m pip install coreferee
I get this error:

Collecting coreferee
  Using cached coreferee-1.1.3-py3-none-any.whl.metadata (2.2 kB)
Collecting spacy<3.2.0,>=3.1.0 (from coreferee)
  Using cached spacy-3.1.7.tar.gz (1.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [771 lines of output]
      Collecting setuptools
        Using cached setuptools-69.2.0-py3-none-any.whl.metadata (6.3 kB)
      Collecting cython<3.0,>=0.25
        Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB)
      Collecting cymem<2.1.0,>=2.0.2
        Using cached cymem-2.0.8-cp312-cp312-win_amd64.whl.metadata (8.6 kB)
      Collecting preshed<3.1.0,>=3.0.2
        Using cached preshed-3.0.9-cp312-cp312-win_amd64.whl.metadata (2.2 kB)
      Collecting murmurhash<1.1.0,>=0.28.0
        Using cached murmurhash-1.0.10-cp312-cp312-win_amd64.whl.metadata (2.0 kB)
      Collecting thinc<8.1.0,>=8.0.12
        Using cached thinc-8.0.17.tar.gz (189 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting blis<0.8.0,>=0.4.0
        Using cached blis-0.7.11-cp312-cp312-win_amd64.whl.metadata (7.6 kB)
      Collecting pathy
        Using cached pathy-0.11.0-py3-none-any.whl.metadata (16 kB)
      Collecting numpy>=1.15.0
        Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB)
      Collecting wasabi<1.1.0,>=0.8.1 (from thinc<8.1.0,>=8.0.12)
        Using cached wasabi-0.10.1-py3-none-any.whl.metadata (28 kB)
      Collecting srsly<3.0.0,>=2.4.0 (from thinc<8.1.0,>=8.0.12)
        Using cached srsly-2.4.8-cp312-cp312-win_amd64.whl.metadata (20 kB)
      Collecting catalogue<2.1.0,>=2.0.4 (from thinc<8.1.0,>=8.0.12)
        Using cached catalogue-2.0.10-py3-none-any.whl.metadata (14 kB)
      Collecting pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4 (from thinc<8.1.0,>=8.0.12)
        Using cached pydantic-1.8.2-py3-none-any.whl.metadata (103 kB)
      Collecting smart-open<7.0.0,>=5.2.1 (from pathy)
        Using cached smart_open-6.4.0-py3-none-any.whl.metadata (21 kB)
      Collecting typer<1.0.0,>=0.3.0 (from pathy)
        Using cached typer-0.9.0-py3-none-any.whl.metadata (14 kB)
      Collecting pathlib-abc==0.1.1 (from pathy)
        Using cached pathlib_abc-0.1.1-py3-none-any.whl.metadata (18 kB)
      Collecting typing-extensions>=3.7.4.3 (from pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4->thinc<8.1.0,>=8.0.12)
        Using cached typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
      Collecting click<9.0.0,>=7.1.1 (from typer<1.0.0,>=0.3.0->pathy)
        Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
      Collecting colorama (from click<9.0.0,>=7.1.1->typer<1.0.0,>=0.3.0->pathy)
        Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
      Using cached setuptools-69.2.0-py3-none-any.whl (821 kB)
      Using cached Cython-0.29.37-py2.py3-none-any.whl (989 kB)
      Using cached cymem-2.0.8-cp312-cp312-win_amd64.whl (39 kB)
      Using cached preshed-3.0.9-cp312-cp312-win_amd64.whl (122 kB)
      Using cached murmurhash-1.0.10-cp312-cp312-win_amd64.whl (25 kB)
      Using cached blis-0.7.11-cp312-cp312-win_amd64.whl (6.6 MB)
      Using cached pathy-0.11.0-py3-none-any.whl (47 kB)
      Using cached pathlib_abc-0.1.1-py3-none-any.whl (23 kB)
      Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl (15.5 MB)
      Using cached catalogue-2.0.10-py3-none-any.whl (17 kB)
      Using cached pydantic-1.8.2-py3-none-any.whl (126 kB)
      Using cached smart_open-6.4.0-py3-none-any.whl (57 kB)
      Using cached srsly-2.4.8-cp312-cp312-win_amd64.whl (478 kB)
      Using cached typer-0.9.0-py3-none-any.whl (45 kB)
      Using cached wasabi-0.10.1-py3-none-any.whl (26 kB)
      Using cached click-8.1.7-py3-none-any.whl (97 kB)
      Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB)
      Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
      Building wheels for collected packages: thinc
        Building wheel for thinc (pyproject.toml): started
        Building wheel for thinc (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        Building wheel for thinc (pyproject.toml) did not run successfully.
        exit code: 1
@richardpaulhudson
Copy link
Owner

It's hard to say looking at the log what the problem might be. Have you tried working in a fresh virtual environment (see https://spacy.io/usage for an example)? Failing that, the problem appears to be with thinc rather than coreferee, so you could always try raising an issue there.

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