[Zope] I can't seem to get site-packages to work under Win32

Dieter Maurer dieter@handshake.de
Mon, 16 Sep 2002 20:15:42 +0200


Friedlander Paul writes:
 > I am trying to install sping (piddle) and PIL so that I can use them under
 > Zope. When my external method tries to import them I get a "no module named
 > ..." message. 
 > 
 > I have tried creating site-packages under "C:Program
 > Files\WebSite\bin\lib\site-packages" and under "C:Program
 > Files\WebSite\lib\Python\site-packages". Neither seems to work. 
Go to "Control_Panel --> Debug Information"

   There, you see "sys.path", the sequence of directories
   Python looks for modules/packages.
   One of the entries look like ".../python2.1".
   This directory is where you must put "site-packages" in.


Dieter