Created
September 28, 2017 09:06
-
-
Save hagenw/85f00620067dd01daee7db916d94a7ea to your computer and use it in GitHub Desktop.
Install Matlab Engine API for python without root permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
It worked for me by first of all creating the folder tmp/build
in the home directory, then by specifying the home folder, i.e. python setup.py build --build-base=/user/home/<yourusername>/tmp/build install
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
Hi, I got this:
error: could not create '$HOME': Access is denied