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).
Thanks rdb.
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.
Thanks rdb!! the “-r morepy” do the trick.
Now with the .p3d i’m trying to test the app with “panda3d test.p3d”. The app is using multifiles and is not finding them, i got this error:
:express(warning): Attempt to mount mydata/data_01.mf, not found.
The structure is:
mydata/data_01.mf
test.p3d
In the p3d file i only have to code. I have to add the folder with the multifiles or something like that?
After the packp3d I want to use pdeploy to create an installer that create an structure like this:
mydata/data_01.mf
test.exe
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.