No module named direct.directbase.DirectStart

Hi,
just installed Python23 and “panda3d-2004-07-16A.exe” from the Download Section of the site “SDK Downloads | Panda3D”.

Then I switched to path “C:\Panda\samples\BVWTutorial” and tried to start the “PandaDemo.py”. My IDLE goes up telling me this:

Traceback (most recent call last):
File “C:\Panda\samples\BVWTutorial\PandaDemo.py”, line 1, in ?
import direct.directbase.DirectStart
ImportError: No module named direct.directbase.DirectStart

If I look into the Panda paths, I cant find any “direct.directbase.DirectStart” anywhere. I only get the src paths. Since I downloaded the binary version, I assumed there is the running version installed.

What am I doing wrong ?

Bernd

Hello Bernd,

I just had the same problem. Panda3D comes with its own distribution of python and it seems you need to use that to run the samples.

The solution for me was to remove the standard python version from the path environment variable.

Steven

Hi Steven,

welcome on the panda3d forum.
it’s nice you found a sollution for your problem and even nicer you see a value in sharing your sollution with us.
but… reviving a 5 year old thread almost nominates your for the “golden spade award” for digging it up. i doubt bernd will ever read it :wink:

anyway:) glad you found panda3d,
have a nice day,
thomas