日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

python如何安裝模塊?python安裝模塊簡單使用教程

大家知道python如何安裝模塊嗎?下文我們小編就帶來了在python安裝模塊的簡單使用教程,一起來看看吧!
python安裝模塊的操作方法


python如何安裝模塊?python安裝模塊簡單使用教程


安裝模塊前,首先要安裝setuptools 。就能用ez_setup.py安裝了setuptools了 。
有setuptools,就要開始配置環(huán)境 。因為需要用到python安裝目錄下的Scripts文件夾里面的文件
python如何安裝模塊?python安裝模塊簡單使用教程


到桌面,點擊計算機(jī)右鍵--屬性
python如何安裝模塊?python安裝模塊簡單使用教程


點擊“高級系統(tǒng)設(shè)置”
python如何安裝模塊?python安裝模塊簡單使用教程


點擊“環(huán)境變量”
python如何安裝模塊?python安裝模塊簡單使用教程


在系統(tǒng)變量一欄下拉,找到PATH并雙擊
python如何安裝模塊?python安裝模塊簡單使用教程


先在最后加一個分號;再輸入 “你的python路徑”Scripts 。比如我們小編的python安裝路徑是D:python2.7.6,那么我們小編應(yīng)該輸入D:python2.7.6Scripts 。如圖
python如何安裝模塊?python安裝模塊簡單使用教程


設(shè)置完畢后,就能直接用命令行安裝模塊了 。比如我們小編要安裝PIL模塊,只需要輸入easy_install PIL 回車
python如何安裝模塊?python安裝模塊簡單使用教程


開始下載
python如何安裝模塊?python安裝模塊簡單使用教程


安裝成功
python如何安裝模塊?python安裝模塊簡單使用教程


【python如何安裝模塊?python安裝模塊簡單使用教程】

    推薦閱讀