Monday, 15 February 2010

python - scrapy : no module named win32api (windows) -



python - scrapy : no module named win32api (windows) -

i trying install , utilize scrapy on windows , getting next error.

scrapy-pratice\scrapyenv\lib\site-packages\scrapy\utils\misc.py", line 42, in load_object raise importerror("error loading object '%s': %s" % (path, e)) importerror: error loading object 'scrapy.core.downloader.handlers.s3.s3downloadhandler': no module named win32api

i have downloaded , installed right pywin32, based on python version, http://sourceforge.net/projects/pywin32/?source=typ_redirect.

version , other details. have python 2.7 directory python , scripts nowadays

(c:\python27) pywin32-wininst.txt file (first few lines) *** installation started 2014/11/01 07:56 *** source: c:\users\rajesh\downloads\pywin32-219.win32-py2.7.exe 999 root key: hkey_local_machine 020 reg db key: [software\microsoft\windows\currentversion\uninstall]pywin32-py2.7

and here python , scrapy versions.

(scrapyenv) ps c:\users\....\hackernews\hackernews> scrapy version -v scrapy : 0.24.4 lxml : 3.4.0.0 libxml2 : 2.9.0 twisted : 14.0.2 python : 2.7.4 (default, apr 6 2013, 19:54:46) [msc v.1500 32 bit (intel)] platform: windows-7-6.1.7601-sp1 (scrapyenv) ps c:\users\....\hackernews\hackernews> python version -v python 2.7.4 (default, apr 6 2013, 19:54:46) [msc v.1500 32 bit (intel)] on win32 type "help", "copyright", "credits" or "license" more information. >>>

are there environment variables need set work? how can debug this? doing within virtualenv (--no-site-packages) if relevant.

i able work using easy_install .exe file, within virtualenv.

easy_install <\path\to\downloaded_file>\pywin32-219.win32-py2.7.exe

python python-2.7 scrapy pywin32

No comments:

Post a Comment