梁同学账号 2022-08-17 19:23 采纳率: 100%
浏览 41
已结题

命令提示符安装wx的错误,求解!

在命令提示符窗口输入pip后,再输入pip install WxPython,跳出如下文字,安装失败,怎么办?

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 0x0000024123A969D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/wxpython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000024123A96D00>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/wxpython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000024123A96FA0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/wxpython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000024123AC12E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/wxpython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000024123AC1550>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/wxpython/
ERROR: Could not find a version that satisfies the requirement WxPython (from versions: none)
ERROR: No matching distribution found for WxPython
  • 写回答

2条回答 默认 最新

  • honestman_ 2022-08-18 11:17
    关注

    加上镜像地址下载会快很多:

    pip install wxpython -i https://pypi.tuna.tsinghua.edu.cn/simple
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 8月26日
  • 已采纳回答 8月18日
  • 创建了问题 8月17日

悬赏问题

  • ¥15 antv g6 力导向图布局
  • ¥15 各位为什么总是报错attributeerror呢,报nonetype object has no attribute group
  • ¥15 quartz框架,No record found for selection of Trigger with key
  • ¥15 锅炉建模+优化算法,遗传算法优化锅炉燃烧模型,ls-svm会搞,后面的智能算法不会
  • ¥20 MATLAB多目标优化问题求解
  • ¥15 windows2003服务器按你VPN教程设置后,本地win10如何连接?
  • ¥15 求一阶微分方程的幂级数
  • ¥15 关于#线性回归#的问题:【统计】回归系数要转化为相关系数才能进行Fisher' Z转化吗(相关搜索:回归模型)
  • ¥100 使用matlab解决含分段变量的优化问题
  • ¥15 matlab基于鲸鱼算法优化vmd