Panda3D not running in python 2.7

I’m trying to run the panda examples with shipped python 2.6.4 with no problems, but if I try to run them with python 2.7 I encounter the infamous message:

[color=red]ImportError: No module named direct.directbase.DirectStart

It’s not possible to run them in python 2.7?
I’m fairly new to python, I’ve been using ruby, so dependencies are a rather difficult topic for me…

Thanks in advance.


Hi, welcome to the forums!

Python versions aren’t binary compatible with each other, so if you want to use Panda3D with Python 2.7, you’ll have to grab the Panda3D source code, replace the Python version inside and compile it yourself.

I recommend just sticking with 2.6 for now, though.

Thank you very much for the answer.
I’ve been learning python for a couple of days, so I didn’t really know if there was any difference between python versions in respect to Panda libraries.
Between, I think I’ll follow your advice and stick with 2.6.4 for now. :unamused: