Compiled WHL but no panda3d.core


While having a poke at Panda3D + pypy, I realised I should test my build on CPython + found my build is probably broken - there is no panda3d.core:

$ python -c "from panda3d import core"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'core'

I compiled everything like this:

$ python makepanda/ --everything --wheel --no-egl --no-gles --no-gles2 --no-opencv

Here is the full output


Did you install the build, or at least put the “built” directory on your PYTHONPATH?


python -m pip install panda3d*.whl


export PYTHONPATH=/path/to/pandadir/built/:$PYTHONPATH
python -c "import panda3d.core"


Apologies for the noise - it seems like I had previously installed panda3d via a package manager - once I uninstalled that and did a reboot installing via pip seems to work.