Error installing Zope Interface 4.0.3 on Python 2.7 required for Scrapy

New for Python and Scrapy. I need these modules, apparently, for the correct operation. I downloaded the Zope interface as suggested, and tried to install using easy_install according to Scrapy instructions. I run Windows 7 64 and first downloaded the 64-bit version of Pyton 2.7 and all modules, including Zope. It didn’t work, so I took apart and downloaded the 32-bit versions, but I have the same problem. It is clear that I am doing something very simple wrong. Thank the help.

Here's what happens:
C:> easy_install zope.interface-4.0.3-py2.7-win32.egg

I get a whole bunch of results (which stackoverflow doesn't allow me to copy / paste, even if I format it correctly as code), which says at the end:

No local packages or download links found for zope.interface-4.0.3-py2.7-win32.egg 

I know that I need zope, because when I try to start therapy, I get the following error (also other results):

C:> scrapy shell http://www.yahoo.com

raise ImportError(required + ": no module named zope.interface.") ImportError: Twisted requires zope.interface 3.6.0 or later: no module named zope.interface.

As I said, I’m completely real in this, and it’s hard for me to spend time with all the modules and packages needed to exit.

+4
source share
2 answers

easy_install and pip install accept package names, not the file name.

therefore the right challenge would be

 easy_install zope.interface 

who will choose the latest version. If you specifically want this version

 easy_install "zope.interface==4.0.3" 

You can usually find package names by googling, for example. pypi zope interface

+6
source

I spent an absurd long time trying to overcome the zope problems when installing scrapy and just found a solution!

I just did step 7 here (as Talvalin suggested) http://steamforge.net/wiki/index.php/How_to_Install_Scrapy_in_64-bit_Windows_7

Then, in my sites location, I just changed the egg file name "zope.interface-3.8.0-py2.7-win-amd64.egg" to "zope". After that, everything worked perfectly.

Hope this helps someone!

0
source

All Articles