Python安装好后有的程序引入包,则需要下载。
cd到python安装的的Scripts目录下
Python包的安装
很多教程说pip install 包名这种方法安装,(其实这种方法一般行不通,因为Python下载包是在国外服务器,国内访问速度很慢还容易下载失败)
正确的方法是下面这种(引入国内第三方网址下载很快):
pip install 包名 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
以安装Selenium包为例:
Python包的安装

相关文章:

  • 2022-12-23
  • 2021-05-21
  • 2021-12-31
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2021-07-29
  • 2021-07-03
  • 2021-08-08
  • 2021-11-19
  • 2021-07-08
相关资源
相似解决方案