Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[求助/Help] all in one 3.10版本安装报错 #21654

Open
yandew opened this issue Nov 22, 2024 · 1 comment
Open

[求助/Help] all in one 3.10版本安装报错 #21654

yandew opened this issue Nov 22, 2024 · 1 comment
Labels
question Further information is requested state/awaiting user feedback

Comments

@yandew
Copy link

yandew commented Nov 22, 2024

最小安装centos7.6后换阿里的repo,update到7.9的3.10内核后all in one安装,报错如下。
PLAY [mariadb_node] ************************************************************

TASK [Gathering Facts] *********************************************************
ok: [10.62.31.59]

TASK [mariadb : gather os specific variables] **********************************
ok: [10.62.31.59] => (item=/opt/cloudpods/ocboot/onecloud/roles/mariadb/vars/centos.yml)

TASK [mariadb : Include Pre Install tasks if any] ******************************

TASK [mariadb : Install mariadb] ***********************************************
changed: [10.62.31.59] => (item=mariadb-server)

TASK [mariadb : pips for mysql/mariadb online] *********************************
failed: [10.62.31.59] (item=PyMySQL) => {"ansible_loop_var": "pip_item", "changed": false, "cmd": ["/usr/local/bin/pip3", "install", "PyMySQL"], "msg": "\n:stderr: 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 0x7fa369b93a90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369b936d8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba52e8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5748>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5898>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nERROR: Could not find a version that satisfies the requirement PyMySQL (from versions: none)\nERROR: No matching distribution found for PyMySQL\n", "pip_item": "PyMySQL"}

PLAY RECAP *********************************************************************
10.62.31.59 : ok=76 changed=29 unreachable=0 failed=1 skipped=30 rescued=0 ignored=0

目前环境pip版本如下:
[root@sdn59 ocboot]# pip show pip
Name: pip
Version: 21.3.1
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.6/site-packages
Requires:
Required-by:
[root@sdn59 ocboot]#

@yandew yandew added the question Further information is requested label Nov 22, 2024
@wanyaoqi
Copy link
Member

@yandew 网络问题,换个 pip 源试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested state/awaiting user feedback
Projects
None yet
Development

No branches or pull requests

2 participants