Windows系統
直接在user目錄中創建一個pip目錄,如:C:\Users\xx\pip,新建文件pip.ini,內容如下
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
Linux系統
修改 ~/.pip/pip.conf 文件, 內容如下:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
直接在user目錄中創建一個pip目錄,如:C:\Users\xx\pip,新建文件pip.ini,內容如下
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
修改 ~/.pip/pip.conf 文件, 內容如下:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c