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
0 个评论
回答(1 个)
Anmol Dhiman
2020-6-17
Hi Ruben,
Please close MATLAB, find "lmwmcljmiutils.dll", delete it(save a backup copy), and restart MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!