Error trying to generate a Python Package and Build a Python Application

2 vues (au cours des 30 derniers jours)
Ruben Fernandez
Ruben Fernandez le 12 Juin 2020
Commenté : Ruben Fernandez le 17 Juin 2020
Hi all,
I'm trying to generate a Python Package and Build a Python Application in Windows 10, following the tutorial:
But i get the following error, when i try to initialize the generated package:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\Ruben\gb2s\proyectos\RecLocutor_Alysis\Test\VGGVox-master\toPython\new\makesqr\__init__.py", line 305, in initialize
return _pir.initialize_package()
File "E:\Ruben\gb2s\proyectos\RecLocutor_Alysis\Test\VGGVox-master\toPython\new\makesqr\__init__.py", line 253, in initialize_package
package_handle.initialize()
File "C:\Program Files\MATLAB\R2018b\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\deployablepackage.py", line 33, in initialize
mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path)
SystemError: Bundle#24 start failed: Loading C:\Program Files\MATLAB\R2018b\bin\win64\microservices\mcljmiutils\mwmcljmiutils.dllfailed with error: No se puede encontrar el módulo especificado.
I've tried also to follow steps in answer of this link (with some differences) but i get the same error:
I really have no idea what to do next. I have looked at other similar questions but i have not yet had any success..
Thanks in advance.
Rubén

Réponses (1)

Anmol Dhiman
Anmol Dhiman le 17 Juin 2020
Hi Ruben,
Please close MATLAB, find "lmwmcljmiutils.dll", delete it(save a backup copy), and restart MATLAB.
  1 commentaire
Ruben Fernandez
Ruben Fernandez le 17 Juin 2020
Thanks Anmol for your answer, but now i get a different error related with this removed dll:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\Ruben\gb2s\proyectos\RecLocutor_Alysis\Test\VGGVox-master\toPython\new\makesqr\__init__.py", line 305, in initialize
return _pir.initialize_package()
File "E:\Ruben\gb2s\proyectos\RecLocutor_Alysis\Test\VGGVox-master\toPython\new\makesqr\__init__.py", line 253, in initialize_package
package_handle.initialize()
File "C:\Program Files\MATLAB\R2018b\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\deployablepackage.py", line 33, in initialize
mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path)
SystemError: MclJmiUtils plugin not available
Any idea what to do next?
Thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by