I can’t speak to the C++ situation, but by naming your file “panda3d”, I believe you have created a naming conflict with the main “panda3d” Python module. Try renaming it to something else.
I can’t speak to the C++ situation, but by naming your file “panda3d”, I believe you have created a naming conflict with the main “panda3d” Python module. Try renaming it to something else.