Closed nodje closed 2 years ago
The traceback indicates you are using Python 2.7 which hasn't been supported since v0.5.0 as it was dropped in v0.6.0 https://github.com/jborean93/pypsrp/blob/master/CHANGELOG.md#060---2021-10-21. The error you have is a problem with pip though, it's trying to do something with sdist but the backend isn't available for some reason. Why that is I'm not sure but I recommend you upgrade pip, setuptools, and wheel to the latest version available for Python 2.7 and try again.
You should probably try and start using Python 3.x as well. Red Hat even offers a Python 3 install through their software collections on RHEL 7 https://developers.redhat.com/blog/2018/08/13/install-python3-rhel.
Thanks for your answer! Indeed, Ansible Tower virtual envs are still using python 2.8.5. pip setuptools were already upgraded to the latest but not wheels.
I made sure it was and now I can compile 0.8.1 even with python 2.7.5. But if 0.8.1 is not Python2 compatible I suppose I won't risk getting runtime errors
Cheers
Hi,
for some reason, I'm getting this error when attempting a
pip install pypsrp
:I suppose some dependencies are missing. I'm running this on a RHEL7 machine. I've made sure
gcc
is installed.Looking at the Requirements documentation, it seems only python package dependencies are required, which should be automatically installed by pip.
Is there any other system dependency that'd be necessary?
Python packages
asyncssh
,pykrb5
are not installed in the venv butgssapi
andpsutil
are. AFAIU this would not trigger the kerberos or any other specific feature that require more system dependencies. But maybe I'm mistaken here.