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

90 visualizaciones (últimos 30 días)
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

Respuestas (1)

Navya Singam
Navya Singam el 22 de Ag. de 2022
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)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by