xmake-io / xrepo

🗂️ A cross-platform C/C++ package manager based on Xmake
https://xrepo.xmake.io
Apache License 2.0
354 stars 18 forks source link

xrepo install godotcpp4命令后在安装python阶段报网络连接相关错误 #52

Closed ZhangXiChang closed 1 month ago

ZhangXiChang commented 1 month ago

Xmake 版本

2.9.4

操作系统版本和架构

Windows11

描述问题

xrepo install godotcpp4命令后在安装python阶段报网络连接相关错误 VPN可以正常在官网下载python。我后来关闭了杀毒软件,将VPN挂到全局也不行。

期待的结果

执行xrepo install godotcpp4安装godotcpp4库

工程配置

add_rules("mode.debug", "mode.release")

target("godot-spine") set_kind("shared") add_files("src/*.cpp")

附加信息和错误日志

❯ xrepo install godotcpp4 note: install or modify (m) these packages (pass -y to skip confirm)? in xmake-repo: -> python 3.12.3 [binary, runtimes:"MT", from:scons] -> scons 4.8.0 [from:godotcpp4] -> godotcpp4 4.3 [runtimes:"MT"] please input: y (y/n/m) y => install python 3.12.3 .. failed

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001FA25697DA0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/pip/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001FA272CDB20>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/pip/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001FA256AC470>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/pip/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001FA28F11AC0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/pip/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001FA28F132F0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/pip/ ERROR: Could not find a version that satisfies the requirement pip (from versions: none) ERROR: No matching distribution found for pip if you want to get more verbose errors, please see:

ZhangXiChang commented 1 month ago

不用了,我发现好像是我以前的pip配置的VPN代理设置没有删除导致的