1.インストールパッケージをダウンロードします
1
2
3
|
https:
/
/
www.python.org
/
ftp
/
python
/
2.7
.
14
/
python
-
2.7
.
14.amd64
.msi
# 2.7安装包
https:
/
/
www.python.org
/
ftp
/
python
/
3.6
.
4
/
python
-
3.6
.
4
-
amd64.exe
# 3.6安装包
|
2. python3.6をインストールします。
1
|
增加环境变量
|
コマンド・ライン・テスト3.
4.インストールpython2.7
5. python2は、環境変数を追加しました
1
|
C:\Python27\Scripts\;C:\Python27\;
|
6. C:\のpython.exeとpythonw.exe Python27ディレクトリの下python2.exeするとpythonw2.exe
7. C:\のpython.exeとpythonw.exe Python36ディレクトリの下python3.exeするとpythonw3.exe
このとき8、代表代表python2のpython3コマンドライン入力python2ののpython3
二つ。ピップのインストール
1
2
3
4
5
6
7
8
9
|
#在cmd上执行
python3
-
m pip install
-
-
upgrade pip
-
-
force
-
reinstall
python2
-
m pip install
-
-
upgrade pip
-
-
force
-
reinstall
#查看pip版本
pip3
-
V
pip2
-
V
|