At 10:07 AM 12/18/01 +0000, you wrote:
your python can't find your python libraries. set PYTHONHOME variable or symlink them into your lib folder.
So, my Python distro lives here: /usr/lib/Python-2.1.1 so I make this link in zctl.py: env['PYTHONHOME'] = '/usr/lib/Python-2.1.1/' or I try this: env['PYTHONHOME'] = '/usr/lib/Python-2.1.1/Lib' or this: env['PYTHONHOME'] = '/usr/local/lib/python2.1' but it doesn't work. Forgive my ignorance, but what am I doing wrong? Or, if I symlink, which of the above do I symlink into, I presume, Zope_software_home/lib? TIA, BenO
seb
On Tue, 2001-12-18 at 00:10, Ben Ocean wrote:
Hi; I'm building a new Zope server with ZEO and INSTANCE_HOME and I've run into this problem when trying to start it:
#./zctl.py start -v Stopping ZEO pid: 4604 4605 sh: kill: (4604) - No such pid sh: kill: (4605) - No such pid Starting ZEO server on 5800 "/usr/local/bin/python" /home/httpd/ZopeInstallation/Zope_software_home/lib/python/ZEO/start.py -p 5800 & waiting for ZEO server to start 1/200 'import site' failed; use -v for traceback Traceback (most recent call last): File "/home/httpd/ZopeInstallation/Zope_software_home/lib/python/ZEO/start.py", line 91, in ? import sys, os, getopt, string ImportError: No module named os
No module named os?? Huh? What have I screwed up? TIA, BenO
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )