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

92 views (last 30 days)
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 install
running install
running build
running build_py
creating build
error: could not create 'build': Access is denied

Answers (1)

Navya Singam
Navya Singam on 22 Aug 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 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 (

Community Treasure Hunt

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

Start Hunting!

Translated by