Skip to content

Instantly share code, notes, and snippets.

@hagenw
Created September 28, 2017 09:06
Show Gist options
  • Save hagenw/85f00620067dd01daee7db916d94a7ea to your computer and use it in GitHub Desktop.
Save hagenw/85f00620067dd01daee7db916d94a7ea to your computer and use it in GitHub Desktop.
Install Matlab Engine API for python without root permissions
#!/bin/bash
# Go to $MATLABROOT/extern/engines/python and run the following line to build the python engine without root permissions.
# See https://uk.mathworks.com/help/matlab/matlab_external/install-matlab-engine-api-for-python-in-nondefault-locations.html
python setup.py build --build-base=$HOME/tmp/build install
@Raynchowkw
Copy link

Thanks.
I find that It's my folder priviledge problem. I am not the admin.
But your way is helpful and making sense. I will try this next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment