Only rocket modules you need are in the panda3d.rocket package.
You shouldn’t import “rocket”.
Beside that you’ll need to load a font into Rocket, before it can write any text.
Take a close look at the sample provided by rdb and try to run that first.