Skip to content

Unable to install pglookout-2.0.2.tar.gz on Rocky 9.2 Linux server with python39 version #114

@desorenp

Description

@desorenp

Hi Team,

I am trying to install pglookout-2.0.2.tar.gz on Rocky 9.2 OS where we have python39 installed:

python3-3.9.16-1.el9_2.2.x86_64


> python --version
> Python 3.9.16

Setuptools version installed in the server is:

rpm -qa | grep python3-setuptools
python3-setuptools-wheel-53.0.0-12.el9.noarch
python3-setuptools-53.0.0-12.el9.noarch

While trying to install pglookout i am getting the below error:

/usr/bin/python3.9 -m pip install pglookout-2.0.2.tar.gz
Processing ./pglookout-2.0.2.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 /tmp/pip-standalone-pip-0ww8orgl/env_pip.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x41fhgec/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
cwd: None
Complete output (7 lines):
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f032e6d4c70>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f032e98aa30>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f032e98a550>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f032e6d4f40>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f032e6d4970>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0


WARNING: Discarding file:///var/pginstaller16/pglookout-2.0.2.tar.gz. Command errored out with exit status 1: /usr/bin/python3.9 /tmp/pip-standalone-pip-0ww8orgl/env_pip.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x41fhgec/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
ERROR: Command errored out with exit status 1: /usr/bin/python3.9 /tmp/pip-standalone-pip-0ww8orgl/env_pip.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x41fhgec/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

python3.9 -m pip list | grep setuptool
setuptools               53.0.0
python3.9 -m pip list | grep pip
pip                      21.2.3

I have a higher version of setuptools , but still it keeps looking for setuptool version. Any suggestion would be helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions