You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collecting pipreqs
Obtaining dependency information for pipreqs from https://files.pythonhosted.org/packages/36/38/cc1343c3a63655e18328e51e00c6e6851be648f1b8babffc5131f1b9f226/pipreqs-0.5.0-py3-none-any.whl.metadata
Using cached pipreqs-0.5.0-py3-none-any.whl.metadata (7.9 kB)
Collecting docopt==0.6.2 (from pipreqs)
Using cached docopt-0.6.2.tar.gz (25 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[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.
Python 3.11.5
The text was updated successfully, but these errors were encountered:
The error you're encountering during the installation of pipreqs is due to the absence of setuptools in your build environment. setuptools is a crucial package for building and installing Python packages. To resolve this issue, please follow these steps:
Upgrade setuptools:
Ensure that setuptools is installed and up to date by running:
pip install --upgrade setuptools
This command will install the latest version of setuptools, which is necessary for building packages that rely on setup.py.
Install pipreqs after upgrading:
Once setuptools is updated, proceed to install pipreqs:
While attempting to install pipreqs via:
Getting the following error:
Python 3.11.5
The text was updated successfully, but these errors were encountered: