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

Friedlander Paul PaulFriedlander@Danfoss.com
Mon, 16 Sep 2002 21:00:31 +0200


Thanks for the feedback.

The debug screen shows "C:\PROGRA~1\WebSite\bin\lib\site-packages" under
syspath and
"C:\PROGRA~1\WebSite\lib\python" for SOFTWARE_HOME.

I have tried putting a site-packages directory in the following locations
with no luck.

C:\PROGRA~1\WebSite\bin\lib\site-packages 
C:\PROGRA~1\WebSite\lib\python\site-packages 

Any other ideas?

-----Original Message-----
From: Dieter Maurer [mailto:dieter@handshake.de]
Sent: Monday, September 16, 2002 2:16 PM
To: Friedlander Paul
Cc: 'zope@zope.org'
Subject: Re: [Zope] I can't seem to get site-packages to work under
Win32


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