Freezing PyMeshLab using PyInstaller #114
-
|
Premise: I deeply apologize if this is not the right place to ask this question. But maybe you can help me to understand which PyMeshLab modules are ignored by PyInstaller or maybe you have already tried to freeze PyMeshLab. I am trying to create an executable from the following script (named test_2.py): The file bunny10k.ply can be downloaded here. I am using PyMeshLab 0.2.1, PyInstaller, on Windows 10, in a python 3.8.10 virtual environment. The script works fine. The PyInstaller command can be found below. The executable is created successfully. When I run the executable I get the following error: So it is not able to recognize the file format. Clearly, PyInstaller is not properly freezing the application. So can you just share any hint about which modules PyInstaller is ignoring, please? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Note: -- |
Beta Was this translation helpful? Give feedback.
Note:
load_new_mesh()method of MeshSet does not return an object, andremeshing_isotropic_explicit_remeshing()does not return a mesh.--
I don't know how it works pyinstaller, but it seems that it is not exporting the meshlab plugins.
You can check the number of exporter plugins by calling
pymeshlab.number_plugins(), result should be 49 in pymeshlab 0.2.1.