I have created a small cli tool and uploaded it to the pypi. When I try to install the package inside a normal python environment created using
python -m venv .venv
I always get this error.
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Looking in indexes: https://test.pypi.org/simple/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[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.
I tried multiple techniques to solve this error. But I could not solve it.
But when I try to install the package inside the conda environment it gets installed easily.
Can you suggest me how to solve this issue?