niklasb / dryscrape

[not actively maintained] A lightweight Python library that uses Webkit to enable easy scraping of dynamic, Javascript-heavy web pages
http://dryscrape.readthedocs.io/
MIT License
533 stars 67 forks source link

pip install -r requirements.txt (error) #4

Closed sframe closed 12 years ago

sframe commented 12 years ago

Following instructions from the docs at: http://readthedocs.org/docs/dryscrape/en/latest/installation.html

On Ubuntu server 10.04 I receive an error:

Requirement 'git+git://github.com/niklasb/webkit-server.git' looks like a filename, but the file does not exist
Unpacking ./git+git:/github.com/niklasb/webkit-server.git
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
    self.run(options, args)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1757, in install_files
    self.unpack_url(url, location)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1817, in unpack_url
    self.unpack_file(source, location, content_type, link)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1917, in unpack_file
    or tarfile.is_tarfile(filename)
  File "/usr/lib/python2.6/tarfile.py", line 2529, in is_tarfile
    t = open(name)
  File "/usr/lib/python2.6/tarfile.py", line 1653, in open
    return func(name, "r", fileobj, **kwargs)
  File "/usr/lib/python2.6/tarfile.py", line 1715, in gzopen
    fileobj = bltn_open(name, mode + "b")
IOError: [Errno 2] No such file or directory: '/root/dryscrape/git+git:/github.com/niklasb/webkit-server.git'
niklasb commented 12 years ago

The same page also says that it requires Python 2.7, you seem to be using 2.6. The specific problem here seems to be that your version of pip is too old.

sframe commented 12 years ago

reading comprehension FTW :)