Установил библиотеку grab при попытке выполнить код
from grab import Grab
grab = Grab()
grab.setup(url='http://python.org/')
print grab.request()['body']
Traceback (most recent call last):
File "C:/Python/1", line 2, in <module>
grab = Grab()
File "build\bdist.win32\egg\grab\grab.py", line 128, in __init__
mod = __import__(mod_path, globals(), locals(), ['foo'])
File "build\bdist.win32\egg\grab\ext\pycurl.py", line 6, in <module>
ImportError: No module named pycurl
лог установки
C:\gb\lorien-grab-0.3>python setup.py install
running install
running bdist_egg
running egg_info
writing grab.egg-info\PKG-INFO
writing top-level names to grab.egg-info\top_level.txt
writing dependency_links to grab.egg-info\dependency_links.txt
reading manifest file 'grab.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'grab.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build\bdist.win32\egg
creating build\bdist.win32\egg\grab
creating build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\django.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\lxml.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\lxml_form.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\pycurl.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\soup.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\text.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\urllib2.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\ext\__init__.py -> build\bdist.win32\egg\grab\ext
copying build\lib\grab\form.py -> build\bdist.win32\egg\grab
copying build\lib\grab\grab.py -> build\bdist.win32\egg\grab
copying build\lib\grab\grab_old.py -> build\bdist.win32\egg\grab
copying build\lib\grab\html.py -> build\bdist.win32\egg\grab
copying build\lib\grab\response.py -> build\bdist.win32\egg\grab
copying build\lib\grab\user_agent.py -> build\bdist.win32\egg\grab
copying build\lib\grab\__init__.py -> build\bdist.win32\egg\grab
byte-compiling build\bdist.win32\egg\grab\ext\django.py to django.pyc
byte-compiling build\bdist.win32\egg\grab\ext\lxml.py to lxml.pyc
byte-compiling build\bdist.win32\egg\grab\ext\lxml_form.py to lxml_form.pyc
byte-compiling build\bdist.win32\egg\grab\ext\pycurl.py to pycurl.pyc
byte-compiling build\bdist.win32\egg\grab\ext\soup.py to soup.pyc
byte-compiling build\bdist.win32\egg\grab\ext\text.py to text.pyc
byte-compiling build\bdist.win32\egg\grab\ext\urllib2.py to urllib2.pyc
byte-compiling build\bdist.win32\egg\grab\ext\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\grab\form.py to form.pyc
byte-compiling build\bdist.win32\egg\grab\grab.py to grab.pyc
byte-compiling build\bdist.win32\egg\grab\grab_old.py to grab_old.pyc
byte-compiling build\bdist.win32\egg\grab\html.py to html.pyc
byte-compiling build\bdist.win32\egg\grab\response.py to response.pyc
byte-compiling build\bdist.win32\egg\grab\user_agent.py to user_agent.pyc
byte-compiling build\bdist.win32\egg\grab\__init__.py to __init__.pyc
creating build\bdist.win32\egg\EGG-INFO
copying grab.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying grab.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying grab.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying grab.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\grab-0.2.20-py2.7.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing grab-0.2.20-py2.7.egg
Removing c:\python\lib\site-packages\grab-0.2.20-py2.7.egg
Copying grab-0.2.20-py2.7.egg to c:\python\lib\site-packages
grab 0.2.20 is already the active version in easy-install.pth
Installed c:\python\lib\site-packages\grab-0.2.20-py2.7.egg
Processing dependencies for grab==0.2.20
Finished processing dependencies for grab==0.2.20