PS C:\Users\7340861\Desktop\Vscode\iFA Website> pip install pycurl
Collecting pycurl
Using cached pycurl-7.45.1.tar.gz (233 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 10
╰─> [5 lines of output]
C:\Users\7340861\AppData\Local\Temp\pip-install-3jvz8850\pycurl_4681b76291cb447093a6bd3e3ce0b086\setup.py:957: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"):
C:\Users\7340861\AppData\Local\Temp\pip-install-3jvz8850\pycurl_4681b76291cb447093a6bd3e3ce0b086\setup.py:959: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"):
Please specify --curl-dir=/path/to/built/libcurl
[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.
I got this problem after install "pycurl" How to fix it, I've been stuck with this problem for days. I use "Python 3.10.7, pip 22.2.2, setuptools 63.2.0"