安装python第三方包

安装selenium:

 

 

安装第三方库时,常常会遇到超时或下载过慢的情况,这是因为Python的服务器在国外,所以有时用pip下载时网速过慢,这时建议使用国内的镜像源进行安装。

常用的几个国内镜像源:

  • 清华:https://pypi.tuna.tsinghua.edu.cn/simple
  • 阿里云:http://mirrors.aliyun.com/pypi/simple/
  • 中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/
  • 豆瓣:https://pypi.douban.com/simple

 

posted @ 2023-03-11 13:14  雪儿来  阅读(14)  评论(0编辑  收藏  举报