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

조회 수: 6 (최근 30일)
Ruben Fernandez
Ruben Fernandez 2020년 6월 12일
댓글: Ruben Fernandez 2020년 6월 17일
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