ImportError: No module named direct.directbase.DirectStart

I have just installed Panda 1.0.5 using the RPM package for Mandrake 10.

When I try to run the samples (including the Greeting Card) using “ppython GreetingCard.py” or similar, I get the error “No module named direct.directbase.DirectStart”.

It seems that something is not properly set up.

I am using Mandriva LE 2005 (aka. Mandrake 10.2) and assume that these versions are compatible.

python -V" returns "Python 2.4

I have searched the forum for clues, but haven’t found any.

That’s not good.

Is python 2.4 the default python that comes with mandrake 10.1? I was under the impression that mandrake comes with 2.3. It’s very likely that panda installed itself into python 2.3, not python 2.4.

Unfortunately, there’s no simple way to move it over. Panda has to be recompiled for a new version of python.

  • Josh

It seems that you’re right. According to http://www.mandrakelinux.com/en/10.1/features/14.php3, Mandrake 10.1 uses Python 2.3.4. However, Mandrake 10.2/Mandriva LE 2005 uses Python 2.4 according to http://www.mandriva.com/products/limited-edition/packages?R_=club_standard_x86_4-cd

I don’t know how many Mandrake users have switched to 10.2 yet (it was released on May 3rd), but I hope you’ll add support for it. You’ll probably have to sooner or later as people stop using 10.1…

Oy.

Okay, well, I guess I need to figure out how to add dependencies to that mandrake RPM.