Aiven-Open / Aiven-Open/pglookout

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

未關閉
#114 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
192
分支
25
PR 合併指標
30 天內沒有已合併 PR

描述

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(': 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(': 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(': 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(': 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(': 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。