python37環境變數 Python 環境變數

2021-10-11 09:41:55 字數 1465 閱讀 5552

1、home(win10)

1.1、x64

c:\python\python37\scripts\

c:\python\python37\

set path=%path%;"c:\python\python37\scripts\";"c:\python\python37\"

set path="c:\python\python37\scripts\";"c:\python\python37\";%path%      <== <== <== now

1.2、x86

c:\python\python37-32\scripts\

c:\python\python37-32\

set path=%path%;"c:\python\python37-32\scripts\";"c:\python\python37-32\"看了一下,這個安裝路徑已經不存在了,刪掉了??

1.3、x86

c:\python\python35-32\scripts\

c:\python\python35-32\

set path=%path%;"c:\python\python35-32\scripts\";"c:\python\python35-32\"根據上面的經驗,還是使用下面的方式吧...

set path="c:\python\python35-32\scripts\";"c:\python\python35-32\";%path%for pyspider

2、sh

2.1、x64

c:\program files\python37\

c:\program files\python37\scripts\

set path=%path%;"c:\program files\python37\scripts\";"c:\program files\python37\"

2.2、x86

d:\python\python35-32\

d:\python\python35-32\scripts\

set path=%path%;"d:\python\python35-32\scripts\";"d:\python\python35-32\"    for pyspider

2.3、tensorflow -- cpu

set path=%path%;d:\python\python37.4_x64_tf1.14.0cpu\scripts\;d:\python\python37.4_x64_tf1.14.0cpu\

3、protoc.exe

3.1、sh  (win7x64)

解壓位置:g:\tensorflow_zz\protoc-3.9.0-win64\bin\protoc.exe

set path=%path%;"g:\tensorflow_zz\protoc-3.9.0-win64\bin\"

然後 使用 命令"protoc --version"測試一下

4、5、

mac安裝python3 7環境變數 pip配置

因mac自帶python2.7環境,平時用的比較多的是python3.x版本,本人目前版本是3.7,下面將安裝及配置過程 1 安裝軟體包python3.7.pkg 2 進入終端,配置python3環境變數 1 open bash profile 2 在檔案末尾新增 export path libra...

在Ubuntu下搭建Python3 7環境

python3.7在2018年6月27號正式版本發布.在ubuntu下,通過原始碼安裝來自行搭建編輯.進入終端介面,進行以下操作。wget xz d python 3.7.0.tar.xz tar xvf python 3.7.0.tar cd python 3.7.0 configure make...

Centos7 配置Python3 7環境

yum y install zlib devel bzip2 devel openssl devel ncurses devel sqlite devel readline devel tk devel gcc makemkdir usr local python37 cd usr local py...