[Zope] Problem to start zope
Dieter Maurer
dieter@handshake.de
Mon, 22 Jan 2001 22:57:50 +0100 (CET)
FR Chalaoux writes:
> I installed Zope-2.2.5.src on bsdi 3.0, with Python 2.0. Compilation
> runned fine but when I run ./start I obtain the followinfg error :
>
> bash-2.02$ ./start
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File
> "/usr/local/apache/htdocs/commercial/advl/zope/Zope-2.2.5-src/z2.py",
> line 283, in ?
> import os, sys, getopt, string
> ImportError: No module named os
Apparently, Python does not find its infrastructure.
I see 2 potential causes:
1. There is no valid "python2.0" in "/usr/local/lib"
2. Python 2.0 no longer looks for its infrastructure
via PYTHONHOME *and* the default place.
Check 1.
If "python2.0" is there (and correct), it may help
to install a symbolic link from "<zope>/lib/python2.0" to
"/usr/local/lib/python2.0".
Dieter