Django學習筆記 PIP使用

2021-07-25 21:13:08 字數 642 閱讀 6207

pip是安裝和管理python包的工具.

ttps:

python setup.py install 

f:\python27>pip install django==1.10.5

3,pip其他命令

f:\python27>pip show django

name: django

version: 1.10.5

summary: a high-level python web framework that encourages rapid development and

clean, pragmatic design.

home-page:

author: django software foundation

author-email:

[email protected]

license: bsd

location: f:\python27\lib\site-packages

requires:

如上可以檢視相關庫的版本及儲存路徑。

pip的使用說明具體見:

tips:

可以參考pip的setup.py檔案來學習庫的安裝,解除安裝及更新。

Windows 使用pip安裝 Django

快速安裝django可參考 使用pip安裝時 1.安裝python,一般安裝python2.7 2.python安裝distribute 開啟windows的cmd,切換到distribute 0.6.36目錄.輸入 python setup.py install。執行就可以了 4.安裝django...

python學習筆記 pip的安裝和使用

上篇 我們都知道python有很多的第三方庫或者說是模組。這些庫針對不同的應用,發揮不同的作用。我們在實際的專案中肯定會用到這些模組。那如何將這些模組匯入到自己的專案中呢?python有兩個著名的包管理工具easy install和pip。在python 2中easy install是預設安裝的,而...

學習筆記 使用國內映象安裝pip庫

window pip install i gevent trusted host mirrors.aliyun.com 其中 pip install gevent 是基礎的安裝語法。i 是國內映象 trusted host mirrors.aliyun.com 是表示信任映象 清華 中國科技大學 阿...