sunny@sunny-ThinkPad-T450:~$ mkdir ~/.pip
sunny@sunny-ThinkPad-T450:~$ gedit ~/.pip/pip.conf
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com

使用gedit新建一个pip.conf文件,文件里的内容如上所示,从而,配置好python的豆瓣源。

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-12-03
  • 2022-01-13
  • 2022-12-23
  • 2021-05-30
  • 2021-10-14
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2021-06-13
相关资源
相似解决方案