These warnings are expected and can be ignored. If you want to use more than just a basic subset of the Python standard libraries you can use “-r morepy” (but I advise only adding that if you actually get errors running the .p3d file).
Using my last example, when i run “panda3d test.p3d” im getting this error:
from ctypes import *
File “VFSImporter”, line 153, in load_module
File “c:\Panda3D-1.8.1\python\Lib\ctypes_init_.py”, line 10, in
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
Failure on startup.
I have no problem running the app from my dev directory. I’m using Python standard libraries and my only python installation is with Panda. Also i see the folder c:\Panda3D-1.8.1\python\Lib\ctypes\ on my installation.
After the packp3d I want to use pdeploy to create an installer that create an structure like this:
panda dlls, folders, etc.
I tried to create a p3d file with just the code, then generate an installer. When I install the app and manually copied the folder with mf files, the structure look similar to the above but doesn’ t work, i can’t see error messages but i think the problem is the same, it can’t access the mf files.
The p3d file include the mf file. I can see it in the list.
I found a similar problem (nested multifiles) David talked about the problem and to use ppackage but i didn’t find documentation about it.
Anyway, i just need to get a working folder with my app, i mean, the mf files, a generated exe and panda dlls and other dependencies. Is there any other (maybe manual) way to do that? its a desktop windows app.