[Zope] pythonpath incomplete?

Tino Wildenhain tino at wildenhain.de
Thu Nov 4 09:54:09 EST 2004


On Thu, 2004-11-04 at 14:19, Wouter Vanden Hove wrote:
> Hi, 
> I have python 2.3.4 running on my server and 
> I installed Zope 2.7.3.
> installation goes  wel,
> but when starting zope, I get: 
> 
>   File "/opt/Zope-2.7.3-0/lib/python/OFS/History.py", line 17, in ?
>     import Globals, ExtensionClass, difflib
> ImportError: No module named difflib
> 
> 
> but difflib is installed in
> /usr/local/lib/python2.3/difflib.py
> 
> so it seems zope can't see the normal python-libraries.
> How to solve this?

compare: which python2.3  output with what you have to
start zope. Use full path here if in doubt best
as option to ./configure --with-python=python2.3 
or so.

see ls -l /usr/local/lib/python2.3/difflib.py
and look for permissions and filesize

then try:

python2.3 -v
>>> import difflib

whatch output (after start and after import difflib)

Regards
Tino



More information about the Zope mailing list