'Could not access the MATLAB Runtime Component Cache' - error in extracting the CTF file due to "required privilege not held by client"
79 views (last 30 days)
Show older comments
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 Comments
Wanda Liz Diaz Merced
on 14 Dec 2021
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
on 13 Jun 2023
I did not solve the problem as well, but running it as local admin works.
Answers (1)
See Also
Categories
Find more on Python Client Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!