[SOLVED] NameError: name 'getConfigShowbase' is not defined

Windows 7
Panda3D 1.7.2
Python 2.6

Main File

from direct.showbase.ShowBase import ShowBase
 
class MyApp(ShowBase):
 
    def __init__(self):
        ShowBase.__init__(self)
 
        # Load the environment model.
        self.environ = self.loader.loadModel("1")
        # Reparent the model to render.
        self.environ.reparentTo(self.render)
        # Apply scale and position transforms on the model.
        self.environ.setScale(0.25, 0.25, 0.25)
        self.environ.setPos(-8, 42, 0)
 
 
app = MyApp()
app.run()

Output

Traceback (most recent call last):
  File "C:/Users/Leif/Documents/GGame/Panda3D-1.7.2/GGame.py", line 1, in <module>
    from direct.showbase.ShowBase import ShowBase
  File "C:/Users/Leif/Documents/GGame/Panda3D-1.7.2\direct\showbase\ShowBase.py", line 14, in <module>
    __builtin__.config = getConfigShowbase()
NameError: name 'getConfigShowbase' is not defined

What is wrong?

Oh, I was using my main python installation, instead of Panda3D’s internal.