win10如何换pip源
生活随笔
收集整理的這篇文章主要介紹了
win10如何换pip源
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
文章目錄
- 創(chuàng)建文件夾
- 創(chuàng)建文件
- 中科大源:
- 清華源:
- 測試
創(chuàng)建文件夾
一般是在這個目錄C:\Users\Administrator下面創(chuàng)建文件夾(目錄的格式相似,并非一模一樣),我的是這個:
C:\Users\ASUS創(chuàng)建文件
pip文件夾下創(chuàng)建pip.ini文件
填寫內(nèi)容為:
中科大源:
[global] index-url = https://pypi.mirrors.ustc.edu.cn/simple/ [install] trusted-host = pypi.mirrors.ustc.edu.cn清華源:
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host = mirrors.aliyun.com測試
這里呢,我用的是中科大
pip install numpy總結(jié)
以上是生活随笔為你收集整理的win10如何换pip源的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Ubuntu16.04如何换pip源
- 下一篇: 微信小程序连接阿里云物联网