I can't seem to get site-packages to work under Win32
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. Does anybody know the correct place to put them and how to get them working? Thanks Paul Friedlander Danfoss paulfriedlander@danfoss.com 410-931-8250
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
participants (2)
-
Dieter Maurer -
Friedlander Paul