2016-01-06 77 views
0

我必須使用python進行大學項目 - 不幸的是,我是一個新手,現在我在安裝pip時遇到了嚴重的問題。我們有義務使用Portable Python 2.7.6.1。每次我嘗試運行get-pip.py文件時,Python會打開config.py並向我顯示錯誤消息「ValueError:無法配置處理程序'控制檯':DebugOutput實例沒有'closed'屬性。我的操作系統是Windows 8. 我該怎麼辦?非常感謝!如何爲便攜式Python 2.7.6.1安裝get-pip.py

回答

1

這是行不通的?

App\Scripts\easy_install.exe pip 

Portable Python website

One of the options for adding new packages/libraries to Portable Python is easy-install. This approach will work for simple libraries but for some more complex it might not as in some cases easy-install adds files outside of the Portable Python folder, which makes this not a portable installation.

據我所知,便攜式Python項目被放棄。對於Windows,這個項目選擇了便攜式Python停止的地方:https://winpython.github.io