Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve error: subprocess-exited-with-error

Tags:

python

pip

Maybe it is the issue with the edition of the package? The error goes like this:

    Using cached thejoker-1.2.2.tar.gz (130 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'error'
    Note: you may need to restart the kernel to use updated 
    packages.
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run 
    successfully.
  │ exit code: 1
╰─> [135 lines of output]
  Collecting setuptools
    Using cached setuptools-69.0.2-py3-none-any.whl.metadata (6.3 kB)
  Collecting setuptools_scm
    Using cached setuptools_scm-8.0.4-py3-none-any.whl.metadata (6.4 kB)
  Collecting wheel
    Using cached wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
  Collecting extension-helpers
    Using cached extension_helpers-1.1.1-py3-none-any.whl.metadata (2.2 kB)
  Collecting scipy
    Using cached scipy-1.11.4-cp39-cp39-win_amd64.whl.metadata (60 kB)
  Collecting oldest-supported-numpy
    Using cached oldest_supported_numpy-2023.12.12-py3-none-any.whl.metadata (9.8 kB)
  Collecting cython
    Using cached Cython-3.0.6-cp39-cp39-win_amd64.whl.metadata (3.2 kB)
  Collecting twobody
    Using cached twobody-0.8.3.tar.gz (115 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'
   ...
   │ exit code: 1
   ╰─> See above for output.

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

I've tried pip install --upgrade setuptools but it didn't work. Can someone teach me how to solve the problem?

like image 802
Ian Avatar asked May 12 '26 18:05

Ian


2 Answers

pip install --upgrade setuptools wheel
like image 132
ayush jha Avatar answered May 14 '26 07:05

ayush jha


My intention was to install python core library. Before doing the installation, I ran this command to upgrade these modules

python -m pip install --upgrade pip setuptools wheel

After that I executed

pip install python-core

and the installation succeeded.

like image 23
Seniru Dilmith Avatar answered May 14 '26 09:05

Seniru Dilmith



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!