#207 lxml won't install via PIP or easy_install (download error)

closed
nobody
None
5
2012-12-11
2012-12-10
Anonymous
No

Hi all;
via either easy_install or pip I'm getting a fatal error trying to install lxml; wouldn't bother me as I'd just manually install it except that my project requires it and it fatally stops the setup script.
So the errors that each give:
PIP says:
>pip install lxml
Downloading/unpacking lxml
Downloading lxml-3.0.1.tar.gz (3.2MB): 3.2MB downloaded
Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\basecommand.py", l
ine 107, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\commands\install.p
y", line 256, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl
e=self.bundle)
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\req.py", line 1018
, in prepare_files
self.unpack_url(url, location, self.is_download)
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\req.py", line 1142
, in unpack_url
retval = unpack_http_url(link, location, self.download_cache, self.download_
dir)
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\download.py", line
463, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "C:\Python27\lib\site-packages\pip-1.2.1-py2.7.egg\pip\download.py", line
380, in _download_url
chunk = resp.read(4096)
File "C:\Python27\lib\socket.py", line 380, in read
data = self._sock.recv(left)
File "C:\Python27\lib\httplib.py", line 561, in read
s = self.fp.read(amt)
File "C:\Python27\lib\socket.py", line 380, in read
data = self._sock.recv(left)
timeout: timed out

Storing complete log in ---------\pip\pip.log

Easy Install says this:
>easy_install lxml
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 3.0.1
Downloading http://pypi.python.org/packages/source/l/lxml/lxml-3.0.1.tar.gz#md5=
0f2b1a063ab3b6b0944cbc4a9a85dcfa
error: None

(if not clear latest version of both pip and easy_install and python 2.7)
any other package that I've tried (including one that is bigger - zanthor - as a test) works fine but any version of lxml fails.
Got any suggestions?
thanks;
Nick

Discussion

  • Richard Jones

    Richard Jones - 2012-12-11
    • status: open --> closed
     
  • Richard Jones

    Richard Jones - 2012-12-11

    Looks like a network connectivity error in there. Not much we can do I'm afraid. Try manually downloading the file (using wget, curl, a browser, whatever) and once you've confirmed download you can pip install that downloaded file.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks