5

I'm trying to install the zope interface script for Python. However, the only download I saw was a .egg file type. I'm running Windows Python 2.7, where should I place this file for the Zope interface to work properly with my Python?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Noah R
  • 5,287
  • 21
  • 56
  • 75

2 Answers2

3

Or, if you're like me and have an irrational hatred of the python egg cache and how poorly it handles effective user ids, install the egg unzipped via:

easy_install -Z zopepackage.egg
samurailawngnome
  • 3,355
  • 3
  • 18
  • 17
2

If you have easy_install, simply run:

easy_install zopepackage.egg

If you don't have that, you could also just unzip the .egg and copy the created zope/interface directory in your site-package directory, although this is not the best way.

(In my Windows install, I find a C:\Python26\Lib\site-packages\zope\interface\ directory)

ypercubeᵀᴹ
  • 113,259
  • 19
  • 174
  • 235