Running Panda3D in side JupyterNotebook

We have Jupyter Hub environment running on RHEL 7 and there is no X server. We created a conda environment and installed the panda3d using pip install. But when we trying to run python code from jupyter notebook we are getting

raise Exception(‘Could not open window.’)

Is there way to work panda3d inside jupyter notebook

You can disable the graphics with this option in a “.prc” panda configuration file:
window-type none

Hi Yonnji,

Thanks for the reply. If I disable the graphics then I will not be able to show the animation right?

I’m also very interested in embedding Panda3D animations in Jupiter Notebook, much like Meshcat which has been designed for webgl.

1 Like