i’m installing 1.10.9 right now…
and… i’m in dependency hell.
dpkg: dependency problems prevent configuration of panda3d1.10:
panda3d1.10 depends on libopenexr25 (>= 2.5.3); however:
Package libopenexr25 is not installed.
Package libopenexr25 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Ok. problem is i’m running linux mint and it appears to be on focal, i.e. ubuntu 20.04.
so i can’t use the latest version of panda3d.
oh good grief. lol. there is a panda 1.10.9 package for focal. i just installed it and it works !
running it required a small modification. I have included the entire script just in case anyone finds it useful.
from direct.showbase.ShowBase import ShowBase
from direct.gui.OnscreenText import OnscreenText
from direct.gui.DirectGui import *
from panda3d.core import TextNode
# Add some text
bk_text = "This is my Demo"
textObject = OnscreenText(text=bk_text, pos=(0.95,-0.95), scale=0.07,
fg=(1, 0.5, 0.5, 1), align=TextNode.ACenter,
# Callback function to set text
bk_text = "Button Clicked"
# Add button
b = DirectButton(text=("OK", "click!", "rolling over", "disabled"),
# Run the tutorial
base = ShowBase()