Packp3d problem [SOLVED]

Hello, I’m new to Panda. I’m trying to use packp3d.

I report a minimal example to show the problem.

Suppose I have the following file, main.py, in a directory named try.

# file: try/main.py
import panda3d.core
import xml.etree.ElementTree
import direct.directbase.DirectStart
run()

When I launch:

packp3d -o try.p3d -d try

I obtain:

There are some missing modules: ['_xmlplus', 'panda3d.core']
Generating try.p3d

What does this mean? What can I do to allow Panda find the missing modules? Thanks!

These are just ignorable warnings. It’s actually not possible to find certain modules, but that’s usually OK, because these are usually modules that don’t care about anyway.

packp3d doesn’t know which modules you care about, so it prints all the ones that can’t be found. If it prints one of your own module names, or a module name that you recognize and know you need, then you should try to figure out what’s going wrong. Otherwise you can just ignore it.

The exception is the panda3d modules, which are listed here due to a bug only; and this has already been fixed and will be included in the next release.

David