The problem is that gutsy and feisty don’t use the same version of python. Panda was compiled for feisty’s python, but gutsy’s python can’t load those DLLs.
Per the install-mk instructions in the docs folder. I am missing teh following folders: Makefile and SceneEditor. Any way to just get these 2 folders. They were not in the source code d/l.
ok, here is where I am at this point in time: I have reinstalled panda3d via the .deb file. I didn’t have a panda.pth in the /usr/lib/python2.5/lib-dynload,
so I put one in with /usr/share/panda3d as the path.
Next when I tried to run a test I still get errors.
So I typed in python at the cmd line. Then manually typed in the command. Here I what I received:
Python 2.5.1 (r251:54863, Feb 6 2008, 17:01:20)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import direct.directbase.DirectStart
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named direct.directbase.DirectStart
I get the same version info for python when I type in python2.5.
So From what I gather from the info above it can’t find the directstart.py.
But I have Found it. It in the following location: /usr/share/panda3d/direct/src/directbase folders.
How can this be corrected so it will work.
I have used the following download to creat this location:
panda3d_1.4.2-ubuntufiesty_i386.deb
Hmm. It should be listing “/usr/share/panda3d” and “/usr/lib/panda3d”.
A hacky way to solve it would be by adding the following into your /usr/lib/python2.5/site.py:
I don’t really know – the .deb should take care of it. I think it installs a .pth file or so somewhere. Did you install the deb file as root? At my pc it does automatically take care of the paths etc.
By the way, what version of Panda was it?
Version of panda3d 1.4.2 is the version. No I haven’t installed as root. I just d/l the fiesty deb file and let the package manager install it. But, I am going a different route. I will install with the source code and the other 2 parts of the program (linux tools and samples). I have already run the makepanda/makepanda.py I have checked this out and it has created the /usr/share/panda3d/direct folder correctly. But direct is the olny folder in the panda3d folder. But I will continue on with the rest of the makepanda install instructions later today when I get home.