zoukankan      html  css  js  c++  java
  • Windows永久修改pip安装源

    一些国内的pip源:

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

    操作步骤

    1. 在C盘中找到目录: C:Users用户名AppDataRoaming

    2. 查看在Roaming文件夹下新建pip文件夹(如果已经存在就跳过此步)

    3. 在pip文件夹中创建一个pip.ini文件

    4. 使用记事本的方式打开pip.ini文件,写入:

    [global]
    index-url = https://pypi.tuna.tsinghua.edu.cn/simple
    [install]
    trusted-host=mirrors.aliyun.com

    5. 完成

  • 相关阅读:
    顺序容器
    forward_list
    array
    第十一章 关联容器
    C++数组
    C++标准库算法
    第十章 泛型算法
    第九章 顺序容器
    操作系统概述
    文件输入输出
  • 原文地址:https://www.cnblogs.com/lab-zj/p/12187530.html
Copyright © 2011-2022 走看看