2016-01-06 95 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