Please help, python dont work

thanks very much, didnt catch that in the tutorial, will be sure to learn python first, thanks again

can u check this code says
Error:
no module named panda3d.core

from math import pi, sin, cos 

from direct.showbase.ShowBase import ShowBase 
from direct.task import Task 
from direct.actor.Actor import Actor
from direct.interval.IntervalGlobal import Sequence
from panda3d.core import Point3

class MyApp(ShowBase): 

    def __init__(self): 
        ShowBase.__init__(self) 

        # Load the environment model. 
        self.environ = self.loader.loadModel("models/environment") 
        # 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) 
      
        # Add the spinCameraTask procedure to the task manager. 
        self.taskMgr.add(self.spinCameraTask, "SpinCameraTask")
        
        # Load and transform the panda actor.
        self.pandaActor = Actor("models/panda-model",
                                {"walk": "models/panda-walk4"})
        self.pandaActor.setScale(0.005, 0.005, 0.005)
        self.pandaActor.reparentTo(self.render)
        # Loop its animation.
        self.pandaActor.loop("walk")
        
        # Create the four lerp intervals needed for the panda to
        # walk back and forth
        pandaPosInterval1 = self.pandaActor.posInterval(13,
                                                        Point3(0, -10, 0),
                                                        startPos=Point3(0, 10, 0))
        pandaPosInterval2 = self.pandaActor.posInterval(13,
                                                        Point3(0, 10, 0),
                                                        startPos=Point3(0, -10, 0))
        pandaHprInterval1 = self.pandaActor.hprInterval(3,
                                                        Point3(180, 0, 0),
                                                        startHpr=Point3(0, 0, 0))
        pandaHprInterval2 = self.pandaActor.hprInterval(3,
                                                        Point3(0, 0, 0),
                                                        startHpr=Point3(180, 0, 0))
        
        # Create and play the sequence that coordinates the intervals.
        self.pandaPace = Sequence(pandaPosInterval1,
                                  pandaHprInterval1,
                                  pandaPosInterval2,
                                  pandaHprInterval2,
                                  name="pandaPace")
        self.pandaPace.loop()
      
   # Define a procedure to move the camera. 
    def spinCameraTask(self, task): 
        angleDegrees = task.time * 6.0 
        angleRadians = angleDegrees * (pi / 180.0) 
        self.camera.setPos(20 * sin(angleRadians), -10.0 * cos(angleRadians), 3) 
        self.camera.setHpr(angleDegrees, 0, 0) 
        return Task.cont 
    
app = MyApp() 
app.run()

That is odd. You sure you installed panda 1.7 and not 1.6.2?

You can also use the old syntax

from pandac.PandaModules import Point3

as well to import any panda module.

mistake downloaded 1.6.2

do i need sdk

Yes you will want the 1.7.0 sdk.

so is panda 3d a language or python the language, and also can u tell me how to make it a .exe game, dont think the manual mintioned how to

Did you actually read at the manual? If you read the first paragraph of the first page “Introduction to Panda3D” it will answer your first question.

The manual also explains how package panda for distribution in Distributing Panda3D Applications

yes i read the first paragraph, dont read much so sometimes i overlook things, srry :slight_smile:

prob not got that far yet

Hey, i downloaded pype and it wont open any ideas?, also i tryed chicken for .egg files and it is not installing right, or just not working