How to install matlab engine to anaconda environment without administrative rights in the computer

84 次查看(过去 30 天)
I tried to use below commands for the installation and got the below error message. I do not have the administrative rights in the computer.Is there any way to install matlab engine without administrative rights?
(My_DeepLearning_Environment) C:\Users\Cwijenay21>conda activate
(base) C:\Users\Cwijenay21>cd C:\Program Files\MATLAB\R2022a\extern\engines\python
(base) C:\Program Files\MATLAB\R2022a\extern\engines\python>python setup.py install
running install
running build
running build_py
creating build
error: could not create 'build': Access is denied

回答(1 个)

Navya Singam
Navya Singam 2022-8-22
Hi Chandu,
I understand that you would like to install the MATLAB Engine, but you do not have the administrative rights on the computer.
Howerver, Installing MATLAB Engine would require the user to execute the command in the administrative mode.
cd "matlabroot\extern\engines\python"
python setup.py install
You could refer to the following documentation for more information on installing MATLAB Engine API for Python: Install MATLAB Engine API for Python - MATLAB & Simulink (mathworks.com)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by