I can't seem to resolve this error. Does anyone have a hint? Thanks ./install 'import site' failed; use -v for traceback Traceback (most recent call last): File "inst/binary_install.py", line 20, in ? import sys, os, getopt ImportError: No module named os version = Zope-2.6.1-solaris-2.8-sparc OS = Solaris 9
Hi it seems that your python version does not have the OS module compiled in, or available to it. As far as I was aware, this module was a standard part of python. Perhaps you could set the PYTHONPATH variable tocontain the location of you python modules, this may help. Which version of python are you using? Paul
Paul- I have the PYTHONPATH path set to a intall of python-2.2.2 and its exe. Is this correct? python-2.2.2 PYTHONPATH=/usr/local/bin/python Thanks Paul Williams wrote:
Hi
it seems that your python version does not have the OS module compiled in, or available to it. As far as I was aware, this module was a standard part of python. Perhaps you could set the PYTHONPATH variable tocontain the location of you python modules, this may help.
Which version of python are you using?
Paul
On Wed, 30 Jul 2003, Morris Hooten - SES System Admin wrote:
Paul-
I have the PYTHONPATH path set to a intall of python-2.2.2 and its exe. Is this correct?
python-2.2.2
PYTHONPATH=/usr/local/bin/python
Thanks
Try PYTHONPATH=/usr/local/lib/python or PYTHONPATH=/usr/local/lib/python2.2 if you are using python2.2 IF I recall, you are using Zope 2.6.1, which I think would run better with python2.1 If you would rather use python 2.2, or have to, then try using zope2.7 which although beta uses python2.2 I think. One other thing to be careful of is if you downloaded a binary version of zope it has it's own python which your environment may be finding first. Check with which python from the command line Paul
participants (2)
-
Morris Hooten - SES System Admin -
Paul Williams