'Could not access the MATLAB Runtime Component Cache' - error in extracting the CTF file due to "required privilege not held by client"

조회 수: 45 (최근 30일)
I am trying to run python code on Windows using a python package created by MATLAB/using MATLAB runtime (created with Mac OS, if it matters). When I attempt to run it I get this error message:
(traceback)
File "C:\Users\my202\OneDrive\Documents\wlan_demod_sf_ndev_ver5\for_redistribution_files_only\wlan_demod_sf_ndev\__init__.py", line 253, in initialize_package
package_handle.initialize()
File "C:\Program Files\MATLAB\MATLAB Runtime\v98\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\deployablepackage.py", line 33, in initialize
mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path)
SystemError: Could not access the MATLAB Runtime component cache. Details: Some error has occurred in the file: b:\matlab\standalone\mclmcr\core\mclctffileextractor.cpp, at line: 62.
The error message is:
Error in extracting CTF file to 'C:\MATLAB_Cache\mcrCache9.8\wlan_d0'. Details: 'Could not create link: C:/MATLAB_Cache/mcrCache9.8/wlan_d0/3P.instrset/libiio.instrset/maci64/Library/Frameworks/iio.framework/iio: A required privilege is not held by the client'
Component cache root: 'C:\MATLAB_Cache\mcrCache9.8'
Component name: 'wlan_demod_sf_ndev'
The package is 'wlan_demod_sf_ndev'. I have looked for similar issues and tried the prescribed solutions (cleared out the cache, reassigned MCR_CACHE_ROOT to a new cache directory, etc)....No idea what this issue could be. Any ideas/advice/solution?
Thanks in advance.
  댓글 수: 2
Wanda Liz Diaz Merced
Wanda Liz Diaz Merced 2021년 12월 14일
this matlab people never replied to this issue. How may we hurry them? i am facing the same issue. it is not coincidence that three computers in three different countries have the same symptom. it is clearly not the user.
Markus Hohlagschwandtner
Markus Hohlagschwandtner 2023년 6월 13일
I did not solve the problem as well, but running it as local admin works.

댓글을 달려면 로그인하십시오.

답변 (1개)

Roey Zuitlin
Roey Zuitlin 2021년 1월 26일
Hey,
I see the same issue, has this been resolved?

카테고리

Help CenterFile Exchange에서 Python Client Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by