Home > Back-end >  How to install p4python on Cygwin64
How to install p4python on Cygwin64

Time:10-22

Trying to install p4python on Cygwin fails with

$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.

I am using Cygwin64 on Windows 10, specifically:

$ 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

I tried using the wheel files from PyPi but there is no compatible platform for Cygwin.

How can I work around this ssl dependency to install the module?

I have included libssl while installing Cygwin.

CodePudding user response:

Try

python -m pip install p4python

CodePudding user response:

p4python can not be installed because it doesn't have a package for Python 3.9 . Which is the Python 3 version you have installed by default. The latest release only has packages for Python up-to 3.7: p4python 2019.1.1858212 PyPI

  • Related