solution:
in ~/.emacs
;;; A quick & ugly PATH solution to Emacs on Mac OSX (if (string-equal "darwin" (symbol-name system-type)) (setenv "PATH" (concat "/opt/local/bin:/opt/local/sbin:" (getenv "PATH"))))restart emacs
source
;;; A quick & ugly PATH solution to Emacs on Mac OSX (if (string-equal "darwin" (symbol-name system-type)) (setenv "PATH" (concat "/opt/local/bin:/opt/local/sbin:" (getenv "PATH"))))restart emacs
/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/Frameworks -> /Library/Frameworksso:
cd /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/ ln -s Frameworks/*.framework .
download http://code.google.com/p/pybox2d/downloads/list unzip pybox2d-2.0.2b2.zip cd Box2D-2.0.2b2 sudo python setup.py install
self.turretjoint = w.CreateJoint(jointDef)#.getAsType()
cd pybotwar python main.py