[solved] Missing standard python modules when using packp3d

When I invoke

I got a warning message on the first line:

And when I try to run built/radakan.p3d, I get this error:

Traceback (most recent call last):
  File "/root/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 352, in __taskChainDispatch
  File "/root/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 410, in __dispatch
  File "/root/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 493, in __startIfReady
  File "VFSImporter", line 153, in load_module
  File "/home/t/dev/radakan/trunk/radakan.py", line 27, in <module>
    from common.log import get_new_logger, info
  File "VFSImporter", line 153, in load_module
  File "/home/t/dev/radakan/trunk/common/log.py", line 7, in <module>
    from logging import getLogger, Logger, setLoggerClass, StreamHandler, DEBUG, INFO
ImportError: No module named logging
:task(error): Exception occurred in PythonTask Messenger-default

I understand that non-standard python packages, like PyQt4 and pylint can’t be supported. But why do I also get errors for standard python packages, like logging and ConfigParser?

Use “-r morepy” to get the full set of Python modules, as described in the manual.

(The whole Python library is pretty sizeable, so we don’t include it automatically unless you ask for it.)

David

drwr, you’re right. I misread the documentation for that option.