解决pip版本过低导致插件安装不上的问题

使用pip安装requests报错Could not fetch URL https://pypi.org/simple/selenium/: There was a problem confirming the ss

解决办法
python easy_install -U pip#更新pip版本
python pip install requests -i http://pypi.douban.com/simple --trusted-host pypi.douban.com#安装requests通过国内源

python pip list#查看pip已安装的包和安装
按照以上步骤一步一步来,如果使用宽带或者wifi不能更新安装好,请使用数据流量。

posted @ 2022-01-26 00:32  NiceTwocu  阅读(190)  评论(0编辑  收藏  举报