python version?

Hi,

I compiled panda on a costumized Red Hat 9 version. It is a centrally managed University system - meaning I don’t have root priviledges.

Anyway, the compile went fine but when I try to run the GreetingCard.py I get this error:

I think the problem might be that it looks in /usr/lib/python2.2 and 2.3, both versions are installed on the system. Is there anyway I can tell the makescript the explicit path that it should use for python?

thanks

ppython GreetingCard.py
DirectStart: Starting the game.
Traceback (most recent call last):
File “GreetingCard.py”, line 1, in ?
import direct.directbase.DirectStart
File “/amd/nfs/pegasus/disk/ptn052/s0343879/3d/panda3d-1.0.5/built/direct/…/…/direct/src/directbase/DirectStart.py”, line 3, in ?
from direct.showbase import ShowBase
File “/amd/nfs/pegasus/disk/ptn052/s0343879/3d/panda3d-1.0.5/built/direct/…/…/direct/src/showbase/ShowBase.py”, line 6, in ?
from pandac.PandaModules import *
File “/amd/nfs/pegasus/disk/ptn052/s0343879/3d/panda3d-1.0.5/built/pandac/PandaModules.py”, line 25, in ?
exec “from PandaModulesUnsqueezed import *”
File “”, line 1, in ?
File “/usr/lib/python2.2/ihooks.py”, line 397, in import_module
q, tail = self.find_head_package(parent, name)
File “/usr/lib/python2.2/ihooks.py”, line 433, in find_head_package
q = self.import_it(head, qname, parent)
File “/usr/lib/python2.2/ihooks.py”, line 486, in import_it
m = self.loader.load_module(fqname, stuff)
File “”, line 29, in load_module
File “PandaModulesUnsqueezed”, line 1, in ?
File “/usr/lib/python2.2/ihooks.py”, line 397, in import_module
q, tail = self.find_head_package(parent, name)
File “/usr/lib/python2.2/ihooks.py”, line 433, in find_head_package
q = self.import_it(head, qname, parent)
File “/usr/lib/python2.2/ihooks.py”, line 486, in import_it
m = self.loader.load_module(fqname, stuff)
File “”, line 29, in load_module
File “libpandaexpressModules”, line 5, in ?
File “/usr/lib/python2.2/ihooks.py”, line 397, in import_module
q, tail = self.find_head_package(parent, name)
File “/usr/lib/python2.2/ihooks.py”, line 438, in find_head_package
q = self.import_it(head, qname, parent)
File “/usr/lib/python2.2/ihooks.py”, line 486, in import_it
m = self.loader.load_module(fqname, stuff)
File “”, line 22, in load_module
File “/usr/lib/python2.2/ihooks.py”, line 268, in load_module
m = self.hooks.load_dynamic(name, filename, file)
File “/usr/lib/python2.2/ihooks.py”, line 172, in load_dynamic
return imp.load_dynamic(name, filename, file)
ImportError: libdtool.so: cannot open shared object file: No such file or directory