您当前的位置: 首页 >  川川菜鸟 pygame

pygame安装问题

川川菜鸟 发布时间:2020-11-06 16:33:59 ,浏览量:5

刚刚我用pip install pygame时,安装竟然失败
报错如下:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(, ‘Connection to pypi.tuna.tsinghua.edu.cn timed out. (connect timeout=15)’)’: /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(, ‘Connection to pypi.tuna.tsinghua.edu.cn timed out. (connect timeout=15)’)’: /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’,
port=443): Read timed out. (read timeout=15)”)’: /simple/pip/

很奇怪,我明明网络很好怎么会timeout连接超时?于是我换个方法试试。
解决方案:
1.点击setting
2.右边我模块那里,双击一个模块

3.输入你想要安装的模块,然后点击左下角的install package就安装好了

补充一下,如果大家安装模块遇到类似模块安装的问题,可以直接在这里搜索安装,大部分能解决,没有那么麻烦。

关注
打赏
查看更多评论

川川菜鸟

暂无认证

  • 5浏览

    0关注

    897博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录