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

80 ビュー (過去 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 Center および File ExchangeIntroduction 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