Как установить ansible-core-2.18.tar.gz OfflineLinux

Ответить
Anonymous
 Как установить ansible-core-2.18.tar.gz Offline

Сообщение Anonymous »

У меня есть контейнер Docker, который уже имеет Ansible 2.8. Я пытаюсь обновить его до 2.18. Теперь он работает, так это то, что контейнер устанавливает пакеты с сервера PYPI. < /p>
Пример: bash -c pip install -i https://pypi.eie.io/simple --trusted-host pypi.eie ansible==2.18.2
У машины нет доступа к Интернету, и у меня сейчас не есть доступ к серверу PYPI. TAR -файл на локальной машине и DID: < /p>
python3 -m pip stall Я продолжаю получать < /p>
wARNING: Disabling truststore since ssi support is missing

wARNING: Pip is configured with locations that require TLS/SSL, however the ssl module

EPRECATION: Loading egg at /us/local/Tib/python3.13/site-packages/setuptools-75. 8. 0-p change. A possible replacement is to use pip for package installation. Discussion can t

rocessing -/ansible core-2.18. 2.tar• gz

Installing buiid dependencies •• error

error: subprocess-exited-with-error

x pip subprocess to install build dependencies did not run successfully.

exit code: 1

→ [10 lines of output]

WARNING: Disabling truststore since ssl support is missing

WARNING: pip is configured with locations that require LS/SSL, however the ssl modi

read=None, redirect=None, Status-Non

WARNING: Retrying (Retry(total=3, connect=None,

read-None, redirect=None, status=Non

HTTPS URL because the SSL module is not available. ")*: /simple/setuptools/

WARNING: Retrying (Retry(total=2, connect=None,

read-None, redirect=None, status=None

HTTPS URL because the SSL module is not available. ")*: /simple/setuptools/

WARNING: Retrying Retry(total-l, connect-None,

read-None, redirect=None, status-None

HTTPS URL because the SSL module is not available.")': /simple/setuptools/

WARNING: Retrying (Retry(total=0,

connect=None,

read-None, redirect-None, status=None)

HTTPS URL because the SSL module is not available.")': /simple/setuptools/

Could not fetch URL https://pypi.org/simple/setuptools/: There was a problen confirmin g', port-443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError (*Can't Table.)) - skipping

ERROR: Could not find a version that satisfies the requirement setuptools=66.

ERROR: No matching distribution found for setuptools=66.1.0

Lend of outputi

note: This error originates from a subprocess, and is likely not a problem with pip.

WARNING: Disabling truststore since ssl support is missing

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Pyth

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssi certi

: Max retries exceeded with url: /simple/pip/ (Caused by SSLError ("Can't connect to HTTPS URL I error: subprocess-exited-with-error

x pip subprocess to install build dependencies did not run successfully.

exit code: 1

- See above for output.
< /code>
У меня нет доступа к этому серверу PYPI в момент. Похоже, он продолжает искать его для установки. < /P>
Как сделать его локально для пакетов? /etc/pip.conf или /etc/xdg/pip/pip.conf
pip3 list |grep setup
setuptools 75.8.0

python version:
3.13.2



Подробнее здесь: https://stackoverflow.com/questions/794 ... gz-offline
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Linux»