Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I executed sudo fab deps_local in Ubuntu's terminal and got the following output:

[localhost] local: sudo easy_install pip
Searching for pip
Best match: pip 1.3.1
Downloading    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/ -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
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg/pip/",     line 139, in main
status =, args)
File "/usr/local/lib/python2.7/dist-packages/pip-1.3.1-    py2.7.egg/pip/commands/", 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/", 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/", 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/",     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/",     line 458, in _download_url
chunk =
File "/usr/lib/python2.7/", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/", line 561, in read
s =
File "/usr/lib/python2.7/", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/", line 241, in recv
File "/usr/lib/python2.7/", line 160, in read
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'


It seems that the code sudo fab deps_local did NOT work well. Am I right? If so, what should I do?

share|improve this question
Could you paste your pip.log to or any other paste site and provide us with the link? I assuem this file holds some information why it failed. – qbi Apr 1 '13 at 22:13
where is pip.log? – user543489 Apr 1 '13 at 22:25
Did you even read what you posted? Storing complete log in /home/asus/.pip/pip.log – gertvdijk Apr 1 '13 at 22:44
Ok. I pasted the pip.log into The link is – user543489 Apr 2 '13 at 7:34
All this shows is that the computer you were running these commands had issues connecting to There's nothing more to say other than 'connection issues'. Try re-running the command on a later time or include the output of wget I can download this file pretty well, though. – gertvdijk Apr 2 '13 at 10:15

You're just having connection issues.

I don't know what fab deps_local is, but the output you provided may be the result of this, I guess. All I see is that

sudo pip install virtualenv

resulted in

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

So check your network connection, or the target website may be down for maintenance.

share|improve this answer
Neither my connection has problem nor the target website has problem. I'm sure about that. – user543489 Apr 1 '13 at 22:21
Well, I'm sure about that it downloaded 45kB and then it failed. There's nothing more to tell from here, I'm afraid. – gertvdijk Apr 1 '13 at 22:46
Could you give me a solution, please. Thank you. – user543489 Apr 2 '13 at 7:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.