暂无图片
安装patroni 时候,报错pip3
我来答
分享
暂无图片 匿名用户
安装patroni 时候,报错pip3

[root@gbase8c_3 dev]# pip3 install patroni[etcd]
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting patroni[etcd]
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f95d121be80>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/patroni/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f95d121b710>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/patroni/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f95d121bc50>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/patroni/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f95d121b7f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/patroni/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f95d121b0f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/patroni/
Could not find a version that satisfies the requirement patroni[etcd] (from versions: )
No matching distribution found for patroni[etcd]
[root@gbase8c_3 dev]# pip3 install psycopg2-binary
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting psycopg2-binary
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c08f8a8d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/psycopg2-binary/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c08f8a2b0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/psycopg2-binary/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c08f8a080>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/psycopg2-binary/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c08f8ada0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/psycopg2-binary/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c08f8aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/psycopg2-binary/
Could not find a version that satisfies the requirement psycopg2-binary (from versions: )
No matching distribution found for psycopg2-binary



上面pip3 的两个命令报错,请问如何处理

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
R
reddey

https://www.modb.pro/db/1700755540280430592,你可以参考一下这篇文章。

暂无图片 评论
暂无图片 有用 2
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏