Panda3D error in Python

Problem description:
I tried to install Panda3D in Python and while it was successful, when I tried to use it I got a weird error. The error itself is too long to paste in here, so instead I put the Repl link below.

Expected behavior:
A grey window titled Panda should appear

Actual behavior:
Big error: the Repl.

Steps to reproduce:
Make a new Python3 Repl, go into Shell and write pip install panda3d==1.10.13. Wait for it to install and then put into

from direct.showbase.ShowBase import ShowBase

class MyApp(ShowBase):

    def __init__(self):

app = MyApp()

Run it

Bug appears at this link:
Already put in the link.

I don’t think this is necessary.

I think the error may have something to do Panda3D being unable to find a display to use (like a VNC) because there is an error that says:

Exception: No graphics pipe is available!
Your Config.prc file must name at least one valid panda display
library via load-display or aux-display.