Not able to run programs after installation?

hey guys,
I think I just installed panda3d successfully on linux crunchbang. After getting around and asking questions and digging up I was able to install the sdk, but the problem is whenever I run any program it gives me this error

$ python Tut-Asteroids.py
DirectStart: Starting the game.
Traceback (most recent call last):
  File "Tut-Asteroids.py", line 13, in <module>
    import direct.directbase.DirectStart
  File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
    from direct.showbase import ShowBase
  File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
    from pandac.PandaModules import *
ImportError: No module named pandac.PandaModules

Can anyone please help me figure what is really going on.
Your help is highly appreciated.

Did you compile with Python support? Are you running Panda3D with the same version of Python that you compiled it with? How did you install Panda3D? Which version of Python are you using?

I am not sure how to compile it but I am using python 2.7 and I just installed by typing

 python makepanda/makepanda.py 

And also tried to installing runtime but it was giving me error

If makepanda completed successfully, you should run it again with the --installer flag, for instance:

python makepanda/makepanda.py --everything --installer

This will generate a .deb in the same directory, which you should install.

It is giving me the same error

DirectStart: Starting the game.
Traceback (most recent call last):
  File "Tut-Asteroids.py", line 13, in <module>
    import direct.directbase.DirectStart
  File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
    from direct.showbase import ShowBase
  File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
    from pandac.PandaModules import *
ImportError: No module named pandac.PandaModules

Crunch bang is debian based, grab an installer from here: [url]Panda3D downloads for several distros] and then run this when you’ve downloaded it.

sudo dpkg -i name_of_file.deb

I’m not 100% certain it’ll work, but it’s worth a try.

I’ve already helped him get it working on IRC, the thread is no longer relevant.

I need to know what you did.

Why did the answer not get posted ?

I have the same problem

Did you compile with Python support? (did makepanda warn about not finding python-dev at the beginning?)