试图在Cygwin上安装p4python失败了
$pip install p4python
[... logs ...]
File "/tmp/pip-install-6mn3hyn3/p4python_9e95a104710b449a90a68bc227a2ee69/setup.py", line 292, in run
raise Exception("Parameter --ssl is needed")
Exception: Parameter --ssl is needed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> p4python
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.我在Windows 10上使用Cygwin64,特别是:
$ pip --version
pip 22.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
$ python --version
Python 3.9.10
$ which python
/usr/bin/python我尝试使用来自PyPi的轮子文件,但是没有兼容的Cygwin平台。
如何绕过这个ssl依赖项来安装模块?
我在安装Cygwin时包括了libssl。
发布于 2022-10-21 23:53:56
试一试
python -m pip install p4pythonhttps://stackoverflow.com/questions/74160123
复制相似问题