Well nearly the same story i found in the forum searches.
Compile ok
Start samples:
manuel@think:~/Python/new/Panda/Panda-Engine/panda3d-1.7.0/samples/Infinite-Tunnel$ python Tut-Infinite-Tunnel.py
DirectStart: Starting the game.
Traceback (most recent call last):
File "Tut-Infinite-Tunnel.py", line 13, in <module>
import direct.directbase.DirectStart
File "/opt/panda3d/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "/opt/panda3d/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
from pandac.PandaModules import *
ImportError: No module named pandac.PandaModules
I compiled with everything. i have python 2.6.3 and 2.5 but 2.6 is used by default.
Installed in /opt/panda3d and set libpath to it but no solution.
Ask me what you need and i post it here and we can work on a solution for me.
Thanks,
I have to shoot some guys now cause 3 hours try to get panda to work really freaked me a bit.
It looks like you didn’t use the standard installer, but installed it yourself? Try setting PYTHONPATH to the directory that contains the directory called “direct”.
Would it be good to use the deb again and get all installed in the proper places and work from there ? (will not work out of the box as well)
Thanks for help
m.
Update:
I just started to build panda again with the standart installer and my eye felt on some warnings:
manuel@think:~/Python/new/Panda/Panda-Engine/panda3d-1.7.0$ makepanda/makepanda.py --everything --lzma --installer
Generating library cache...
WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package ffmpeg, excluding from build
WARNING: Could not locate thirdparty package swscale, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package fmodex, excluding from build
WARNING: Could not locate thirdparty package nvidiacg, excluding from build
WARNING: Could not locate thirdparty package ode, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
WARNING: Could not locate thirdparty package tinyxml, excluding from build
WARNING: Could not locate thirdparty package python, excluding from build
The last warning said it could not find python, could that be the problem ?
I did not install the deb will wait on your advice for that.
Yes! You have compiled without support for Python, so you should not expect Python support to work. Please install the development package for python (python2.x-dev).
Remove every Panda3D installation and path configurations to Panda3D, recompile Panda3D (not as root), install the deb file and everything should be working (normally, you shouldn’t have to do special path configuration, the .deb handles that).