sudo fab deps_local

-1

Eu executei sudo fab deps_local no terminal do Ubuntu e obtive a seguinte saída:

[localhost] local: sudo easy_install pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://www.pip-installer.org
Reading http://pip.openplans.org
Best match: pip 1.3.1
Downloading http://pypi.python.org/packages/source/p/pip/pip-    1.3.1.tar.gz#md5=cbb27a191cebc58997c4da8513863153
Processing pip-1.3.1.tar.gz
Writing /tmp/easy_install-u4gcui/pip-1.3.1/setup.cfg
Running pip-1.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-u4gcui/pip-    1.3.1/egg-dist-tmp-_xmcut
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory     'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Adding pip 1.3.1 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip-2.7 script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
[localhost] local: sudo pip install virtualenv
Downloading/unpacking virtualenv
Downloading virtualenv-1.9.1.tar.gz (2.0MB): 45kB downloaded
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py",     line 139, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-    py2.7.egg/pip/commands/install.py", line 266, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,     bundle=self.bundle)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/req.py", line     1033, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/req.py", line     1161, in unpack_url
retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/download.py",     line 554, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/download.py",     line 458, in _download_url
chunk = resp.read(4096)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
SSLError: The read operation timed out

Storing complete log in /home/asus/.pip/pip.log

Fatal error: local() encountered an error (return code 2) while executing 'sudo pip        install virtualenv'

Aborting.
asus@ubuntu:~/ADL_LRS$

Parece que o código sudo fab deps_local não funcionou bem. Estou certo? Se sim, o que devo fazer?

    
por user543489 02.04.2013 / 00:09

1 resposta

0

Você está com problemas de conexão.

Eu não sei o que é fab deps_local , mas a saída que você forneceu pode ser o resultado disso, eu acho. Tudo que vejo é que

sudo pip install virtualenv

resultou em

Downloading virtualenv-1.9.1.tar.gz (2.0MB): 45kB downloaded
[...]
SSLError: The read operation timed out

Portanto, verifique sua conexão de rede ou o site de destino pode estar desativado para manutenção.

    
por gertvdijk 02.04.2013 / 00:18