Installing on Linux

Hi, i’m using Slackware based distro,
have succesfully compiled Panda3D, but can’t figure out how to make it work, in the end, they told something about ldconfig, but can’t remmember, python can’t import direct.* because he panda3d isn’t installed, but compiled :slight_smile:

ok, i installed it :wink:
but it can’t import it’s modules, because they are in wrong place

pview works, so binary files and lib files are in place
but samples DOESN’T work, w
what files and where i should place it?

I think there are two ways to get panda runing.
*)put the panda files in your python site-packages folder
*)set the python path to panda folder
use the search function there are some other posts about it

Regards Martin

I finally added some installation instructions as of panda 1.1.0. (There aren’t any in 1.0.5). The instructions are in:

doc/INSTALL-MK

Of course, those only apply if you compiled with makepanda.

  • Josh

i can’t figure out, where to move my files!
I moved built folder to /usr/local/panda3d
but python says that he can’t find modules(direct.directstart or smt)
can you tell me what from /usr/local/panda3d move where, to make it work!

Oh! You don’t have an installation problem at all.

The command to run a panda program is:

ppython file.py

Notice the extra “p” in the word python.

  • Josh

[jefis@linux~] cd /usr/local/panda3d/samples/Feature-Tutorials--Actors/ [jefis@linux/usr/local/panda3d/samples/Feature-Tutorials--Actors] ppython Tut-Robots.py
Traceback (most recent call last):
File “Tut-Robots.py”, line 7, in ?
import direct.directbase.DirectStart
ImportError: No module named directbase.DirectStart
[jefis@linux/usr/local/panda3d/samples/Feature-Tutorials–Actors]$

and i call this installiation problem