Compiled WHL but no panda3d.core


#1

Hi,
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/makepanda.py --everything --wheel --no-egl --no-gles --no-gles2 --no-opencv

Here is the full output

pastebin.com/iU2X25E4


#2

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

Either:

python -m pip install panda3d*.whl

Or:

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

#3

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.