pip已停止在我的ubuntu服务器上运行,并在我尝试下载任何内容时给出以下错误.
$ sudo pip install SQLAlchemy
Downloading/unpacking SQLAlchemy
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement SQLAlchemy
No distributions at all found for SQLAlchemy
Storing complete log in /home/user/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
以下所有也不起作用
$ sudo pip install --upgrade pip
$ sudo apt-get install build-essential
Run Code Online (Sandbox Code Playgroud)
我/etc/environment有以下设置,以前工作.
http_proxy="http://myproxyhere:portnumberhere/"
HTTP_PROXY="http://myproxyhere:portnumberhere/"
Run Code Online (Sandbox Code Playgroud)
我的 /home/user/.pip
------------------------------------------------------------
/usr/bin/pip run on Sat Jun 7 20:08:38 2014
Downloading/unpacking SQLAlchemy
Getting page http://pypi.python.org/simple/SQLAlchemy
Could not fetch URL http://pypi.python.org/simple/SQLAlchemy: <urlopen error …Run Code Online (Sandbox Code Playgroud)