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

3 次查看(过去 30 天)
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

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by