您当前的位置: 首页 >  Python

wendy_ya

暂无认证

  • 2浏览

    0关注

    342博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

python库安装的时候常见问题

wendy_ya 发布时间:2020-01-09 11:33:16 ,浏览量:2

最近刚刚重装了系统,安装了最新版python3.8,遇到了一系列问题,列举出来,以供参考。 (血的教训:强烈建议不要下载最新版本,许多库都没来得及更新呢) 1.

socket.timeout:The read operation timed out

在这里插入图片描述 解决方案: 一般是由于网速不稳定,下载过慢,超出默认时间,所以只要修改一下响应时间就好了。 方法如下: windows下输入 pip --default-timeout=100 install 包名 linux下输入 pip --default-timeout=100 install -U 包名

ERROR: Could not find a version that satisfies the requirement ldap3=2.6.1 (from mitmproxy) (from versions: none) ERROR: No matching distribution found for ldap3=2.6.1 (from mitmproxy)

在这里插入图片描述 解决方案: 没办法,版本目前还不支持Python3.8版本。只能卸载,重新安装对应低版本的Python。

反正,python3.8还有许许多多多多多的问题,请谨慎下载!!!装个较低版本的完全没问题。

关注
打赏
1659256378
查看更多评论
立即登录/注册

微信扫码登录

0.0408s