How Do I Install P4python On Macos 10.15 Catalina?
I get an error when trying to install p4python on macOS 10.15 Catalina. Command pip install p4python. Cannot build P4Python without SSL support Exception: Parameter –ssl is neede
Solution 1:
Have you tried doing exactly what it's telling you to do?
pip install p4python -ssl
Solution 2:
p4python can not be installed because it doesn't have a package for Python 3.8. Which is the Python 3 version installed by default. The latest release only has packages for Python up-to 3.7: p4python 2019.1.1858212 PyPI
I installed Python 3.7 with pyenv to get p4python installed/working.
// install pyenv and required python version
brew install pyenv
pyenv install 3.7.7// add following to ~/.bash_profile
export PYENV_ROOT="$HOME/.pyenv/shims"
export PATH="$PYENV_ROOT:$PATH"
export PIPENV_PYTHON="$PYENV_ROOT/python"// go to project directory and set python version
cd project
pyenv local 3.7.7// check verion
python --version
// install p4python
pip install p4python
Old answer:
Answer from Perforce Technical Support
p4python is not supported on MacOS 10.15.2.
Post a Comment for "How Do I Install P4python On Macos 10.15 Catalina?"