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

2 Ansichten (letzte 30 Tage)
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

Antworten (1)

Anmol Dhiman
Anmol Dhiman am 17 Jun. 2020
Hi Ruben,
Please close MATLAB, find "lmwmcljmiutils.dll", delete it(save a backup copy), and restart MATLAB.
  1 Kommentar
Ruben Fernandez
Ruben Fernandez am 17 Jun. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by