ImportError: No module named bullet

Bug #816526 reported by Fabio Piparo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pybullet
Fix Committed
Undecided
Unassigned

Bug Description

I was able to compile and install the package successfully, but I can;t import the module. also, I had to manually add the numpy include folder to the --include-dirs in order to build it. any help would be appreciated.

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

Can you share a complete log of the build and install process, and the output of

    python -vv -c "import bullet"

? Thanks.

Revision history for this message
Fabio Piparo (holofernes) wrote :

here are the three logs for build install, and load.

After looking at the output of the latter, I just tried to move the bullet.pyd up one folder, and when it's sitting inside site-packages, then it loads fine. I'm not sure what's going on with the install process.

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

Thanks. It looks like setup.py was just incomplete and so the necessary __init__.py was not being copied. This is fixed in r35. Note that since bullet.pyd goes into a bullet directory which is itself a Python package, the name of the module you'll typically use is "bullet.bullet" (which I will probably change at some point, because it seems silly).

Changed in pybullet:
status: New → Fix Committed
Revision history for this message
Fabio Piparo (holofernes) wrote :

Sure, happy to be helpful.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.