c:\Users\USER\Desktop>1.py
Traceback (most recent call last):
File “C:\Users\USER\Desktop\1.py”, line 2, in <module>
from grab import Grab
ImportError: No module named grab
Installing grab script to C:\Python27\Scripts
Installed c:\python27\lib\site-packages\grab-0.4.13-py2.7.egg
Processing dependencies for grab==0.4.13
Finished processing dependencies for grab==0.4.13
sanodinЧто именно переустановить?
Переустановите, думаю тут дело не в PATH
sanodinИх я установил
lxml и pycurl
c:\Users\USER\Desktop>C:\Python27\python.exe C:\Python27\Scripts\easy_install-2. 7-script.py lxml Searching for lxml Best match: lxml 3.3.5 Adding lxml 3.3.5 to easy-install.pth file Using c:\python27\lib\site-packages Processing dependencies for lxml Finished processing dependencies for lxml
c:\Users\USER\Desktop>C:\Python27\python.exe C:\Python27\Scripts\easy_install-2. 7-script.py pycurl Searching for pycurl Reading https://pypi.python.org/simple/pycurl/ Best match: pycurl 7.19.3.1 Downloading https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar .gz#md5=6df8fa7fe8b680d93248da1f8d4fcd12 Processing pycurl-7.19.3.1.tar.gz Writing c:\users\user\appdata\local\temp\easy_install-ysh72y\pycurl-7.19.3.1\set up.cfg Running pycurl-7.19.3.1\setup.py -q bdist_egg --dist-dir c:\users\user\appdata\l ocal\temp\easy_install-ysh72y\pycurl-7.19.3.1\egg-dist-tmp-wj2mak Please specify --curl-dir=/path/to/built/libcurl error: Setup script exited with 10
c:\Users\USER\Desktop>C:\Python27\python.exe C:\Python27\Scripts\easy_install-2. 7-script.py grab Searching for grab Best match: grab 0.4.13 Processing grab-0.4.13-py2.7.egg grab 0.4.13 is already the active version in easy-install.pth Installing grab script to C:\Python27\Scripts Using c:\python27\lib\site-packages\grab-0.4.13-py2.7.egg Processing dependencies for grab Finished processing dependencies for grab