unable to display models/environment

i followed the tut on the python section as a first step provided by the site. however although the panda 3d window displayed, the modle/environment does not display. here is the code:

     from direct.showbase.ShowBase import ShowBase

class myApp(ShowBase):

def _init_(self):

        self.environ = self.loader.loadModel("models/environment")
        self.environ.setScale(0.25, 0.25, 0.25)
        self.environ.setPos(-8, 42, 0)

app = myApp()

this was writen according to Documentation > Manual > “Loading the Grassy Scenery” tutorial. what would be the reason?

Do any errors appear in the console when you attempt to run the program?

no. i wrote the code on notepad. that’s all

You wrote init instead of init. There should be two underscores on either side of the word ‘init’.

ok. i fixed the problem. just removed the default python that comes with panda 3d and install my own copy then compiled the program on it. but the ‘panda.pth’ file must be made inside the new copy of python with including panda directory path and panda bin path.