Installation Problem - pip subprocess to install build dependencies did not run successfully.

Hello,

I am trying to install prodigy but keep getting this error:

(prodigy) C:\Users\manoel\OneDrive\AmbVir\prodigy>python -m pip install prodigy -f https://XXXX-XXXX-XXXX-XXXX@download.prodi.gy
Looking in links: https://****@download.prodi.gy
Collecting prodigy
Downloading https://download.prodi.gy/download/prodigy-1.18.0-py3-none-any.whl (994 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 994.0/994.0 kB 665.4 kB/s eta 0:00:00
Collecting spacy<3.8.0,>=3.1.1 (from prodigy)
Using cached spacy-3.7.5.tar.gz (1.3 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [115 lines of output]
Looking in links: https://****@download.prodi.gy
Ignoring numpy: markers 'python_version < "3.9"' don't match your environment
Collecting setuptools
Using cached setuptools-75.8.0-py3-none-any.whl.metadata (6.7 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.11-cp313-cp313-win_amd64.whl.metadata (8.8 kB)
Collecting preshed<3.1.0,>=3.0.2
Using cached preshed-3.0.9.tar.gz (14 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'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.12-cp313-cp313-win_amd64.whl.metadata (2.2 kB)
Collecting thinc<8.3.0,>=8.2.2
Using cached thinc-8.2.5.tar.gz (193 kB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error

    pip subprocess to install build dependencies did not run successfully.
    exit code: 1

    [74 lines of output]
    Looking in links: https://****@download.prodi.gy
    Ignoring numpy: markers 'python_version < "3.9"' don't match your environment
    Collecting setuptools
      Using cached setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
    Collecting cython<3.0,>=0.25
      Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB)
    Collecting murmurhash<1.1.0,>=1.0.2
      Using cached murmurhash-1.0.12-cp313-cp313-win_amd64.whl.metadata (2.2 kB)
    Collecting cymem<2.1.0,>=2.0.2
      Using cached cymem-2.0.11-cp313-cp313-win_amd64.whl.metadata (8.8 kB)
    Collecting preshed<3.1.0,>=3.0.2
      Using cached preshed-3.0.9.tar.gz (14 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'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Collecting blis<0.8.0,>=0.7.8
      Using cached blis-0.7.11.tar.gz (2.9 MB)
      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'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Collecting numpy<2.0.0,>=1.25.0
      Using cached numpy-1.26.4.tar.gz (15.8 MB)
      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 'error'
      error: subprocess-exited-with-error

      Preparing metadata (pyproject.toml) did not run successfully.
      exit code: 1

      [21 lines of output]
      + C:\Users\manoel\OneDrive\AmbVir\prodigy\Scripts\python.exe C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46\vendored-meson\meson\meson.py setup C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46 C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46\.mesonpy-h4kfbwvt -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46\.mesonpy-h4kfbwvt\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.99
      Source dir: C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46
      Build dir: C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46\.mesonpy-h4kfbwvt
      Build type: native build
      Project name: NumPy
      Project version: 1.26.4
      WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

      ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
      The following exception(s) were encountered:
      Running `icl ""` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `cl /?` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `cc --version` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `gcc --version` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `clang --version` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `clang-cl /?` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"
      Running `pgcc --version` gave "[WinError 2] O sistema não pode encontrar o arquivo especificado"

      A full log can be found at C:\Users\manoel\AppData\Local\Temp\pip-install-xt11i3n5\numpy_6a7ec2b32d8a47019204ea32d457fa46\.mesonpy-h4kfbwvt\meson-logs\meson-log.txt
      [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: metadata-generation-failed

    Encountered error while generating package metadata.

    See above for output.

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error

  pip subprocess to install build dependencies did not run successfully.
  exit code: 1

  See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Hi,

Sorry you're having trouble with the installation. Could you quickly check what version of Python you're using? Prodigy supports Python 3.9 through 3.12. We're working on 3.13 support.

Hi @ManecoFardo, just FYI I have masked your license key in the pasted stdout. Please, avoid sharing it in future :slight_smile:

Thank you for that, @magdaaniol!
I’m new to the system.

@honnibal, thank you as well! Downgrading the Python version made the installation possible.

Thank you, guys!