kne / pybox2d-from-googlecode

Automatically exported from code.google.com/p/pybox2d
Other
0 stars 0 forks source link

OSX: cannot import box2d after installation #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using OSX10.6, with system python (2.6). 

It appears as if I've been able to successfully compile pybox2d. The 
build/install process finished with the encouraging message:

Installed /Library/Python/2.6/site-packages/Box2D-2.0.2b2-py2.6-macosx-10.6-universal.egg Processing dependencies for Box2D==2.0.2b2 Finished processing dependencies for Box2D==2.0.2b2


However -- when I try to "import Box2D2" from the python prompt, I'm told the 
module does not exist.

I can confirm that an egg file has been created in my Python's packages 
directory:
/Library/Python/2.6/site-packages/Box2D-2.0.2b2-py2.6-macosx-10.6-universal.egg

I'm not sure what's gone wrong here.

Original issue reported on code.google.com by TimWJone...@gmail.com on 25 Jun 2011 at 6:06

GoogleCodeExporter commented 9 years ago
The package itself is Box2D, not Box2D2 (that was in a previous version).

If that's not the issue, would you please send the full build log?

Original comment by sir...@gmail.com on 25 Jun 2011 at 3:06

GoogleCodeExporter commented 9 years ago
That was the issue! Thanks.

The manual should be updated to reflect the new package name:
http://pybox2d.googlecode.com/svn/branches/box2d_2.0/doc/manual.htm#Hello_Box2D

Original comment by TimWJone...@gmail.com on 25 Jun 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Thanks, fixed in r348.

Original comment by sir...@gmail.com on 25 Jun 2011 at 6:44