Windows下Python安裝併為pip配置阿里映象
pip: 是 Python 包管理工具,該工具提供了對Python 包的查詢、下載、安裝、解除安裝的功能。
目前如果你在 python.org 下載最新版本的安裝包,則是已經自帶了該工具。
一、Python安裝
1.下載Python安裝包
地址:https://www.python.org/downloads/release/python-391/
32位系統下載綠色選框,64位凶下載紅色選框。
2.安裝Python
下載完成後安裝,勾選Add python x.xx to PATH,點選Install Now就可以。
點選close就可以
3.檢視安裝結果
#檢視Python版本
python -V
#檢視pip版本
pip -V
二、pip配置阿里源映象
1.使用檔案配置
配置檔案位置:C:\Users\你的電腦登入使用者名稱\AppData\Roaming資料夾
新建pip.ini配置檔案如下圖所示:
可以輸入pip -V檢視你的目錄,如圖所示
C:\Users\mayn\AppData\Roaming
檔案內容
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
2.cmd中使用命令配置
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
相關文章
- windows下安裝pip,強制升級pip,安裝tensorflowWindows
- python 使用pip安裝使用國內映象加速下載安裝包的方法Python
- windows 安裝python後pip安裝路徑問題WindowsPython
- pip安裝源配置
- windows中安裝pip工具Windows
- pip離線安裝和配置pypi國內加速映象實踐
- Python pip安裝Python
- python安裝pipPython
- pip安裝python庫時使用國內映象資源加速下載過程Python
- Mac 下安裝pipMac
- windows7環境下使用pip安裝MySQLdbWindowsMySql
- centos7下安裝Python的pipCentOSPython
- Linux下python2.7安裝pipLinuxPython
- [Python爬蟲] 在Windows下安裝PIP+Phantomjs+SeleniumPython爬蟲WindowsJS
- Windows10上pip安裝Windows
- ubuntu更換安裝源和pip映象源Ubuntu
- Windows下pip安裝scipy報錯no lapack/blas resources foundWindows
- Linux 下安裝pipLinux
- windows下Tomcat安裝配置WindowsTomcat
- windows下安裝cygwin及配置Windows
- Python pip的安裝及解除安裝Python
- Windows系統中安裝Python模組pip numpy matplotlibWindowsPython
- pip 換成國內阿里映象源阿里
- python怎麼安裝pip?Python
- CentOS下安裝pip 18.0CentOS
- Mac OS下pip安裝 pillowMac
- Docker for windows10 配置阿里雲映象DockerWindows阿里
- Windows下Scoop安裝、配置與使用WindowsOOP
- windows下配置安裝YAF環境Windows
- windows下mangodb的安裝及配置WindowsGo
- Mongodb在Windows下安裝及配置MongoDBWindows
- windows下Emacs的安裝與配置WindowsMac
- windows下安裝Python和在eclipse安裝pydev外掛以及配置eclipseWindowsPythonEclipsedev
- 阿里雲上安裝pip3(Ubuntu)阿里Ubuntu
- python必須安裝pip嗎Python
- 如何在windows下安裝pythonWindowsPython
- Windows10 下caffe-Windows安裝與配置Windows
- pip 安裝