Hi, 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 start file ===== #! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py \ -D "$@" Suggestions? Bye, FR
On Mon, 22 Jan 2001, FR Chalaoux wrote:
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
Either you have broken python installation, or python is installed somewhere in a non-standard location, or your permissions do not allow you to import libs from the user you are running Zope ("nobody"?) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
At 02:45 PM 1/22/2001 +0100, FR Chalaoux wrote:
Hi,
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
This would be a Python error and not a Zope error. "os" should be a standard module for Python, but it is not found here.
participants (3)
-
FR Chalaoux -
Gerald Gutierrez -
Oleg Broytmann