Panda 1.7.0 on mac

Return to Installation

Panda 1.7.0 on mac

Postby clooner » Fri Feb 26, 2010 11:43 am

Hi,

I used Panda3d before when I was still doing windows and I never had any trouble but now I'm having trouble running it on my mac. Is there any starter guide for running it on Mac OS X?

Even the examples don't run out of the box!

P.S. Loving the new Logo :D
clooner
 
Posts: 31
Joined: Wed Jan 02, 2008 4:12 am

Postby drwr » Fri Feb 26, 2010 11:47 am

The examples run fine for me. Can you show us what happens when you try?

David
drwr
 
Posts: 11286
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby clooner » Fri Feb 26, 2010 11:50 am

cd '/Developer/Examples/Panda3D/Roaming-Ralph/' && '/usr/bin/pythonw' '/Developer/Examples/Panda3D/Roaming-Ralph/Tut-Roaming-Ralph.py' && echo Exit status: $? && exit 1
Traceback (most recent call last):
File "/Developer/Examples/Panda3D/Roaming-Ralph/Tut-Roaming-Ralph.py", line 11, in <module>
import direct.directbase.DirectStart
ImportError: No module named direct.directbase.DirectStart
clooner
 
Posts: 31
Joined: Wed Jan 02, 2008 4:12 am

Postby rdb » Fri Feb 26, 2010 11:51 am

Can you give the output of the following commands?
Code: Select all
which python
readlink /usr/bin/pythonw
/usr/bin/pythonw -V
cat /Library/Python/2.5/site-packages/Panda3D.pth
rdb
 
Posts: 8636
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby clooner » Fri Feb 26, 2010 11:55 am

So it tries to use the wrong python version?
Code: Select all
which python
/usr/bin/python

Code: Select all
cat /Library/Python/2.5/site-packages/Panda3D.pth
/Developer/Panda3D/lib

How to make sure it uses the right version?
clooner
 
Posts: 31
Joined: Wed Jan 02, 2008 4:12 am

Postby rdb » Fri Feb 26, 2010 12:02 pm

Use 'ppython'.
rdb
 
Posts: 8636
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby clooner » Fri Feb 26, 2010 12:12 pm

rdb wrote:Use 'ppython'.

I knew this :? Why I didn't use it...
clooner
 
Posts: 31
Joined: Wed Jan 02, 2008 4:12 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests