I\'m trying to install Matlab Engine for Python on CentOS 7 for Matlab R2016a using anaconda python 3.4.
I executed the following commands:
Just a reminder for those who have multiple virtual envs under the anacodna folder, after doing
python setup.py install --prefix="/Users/user/anaconda/"
as prompted by @Leighton, the matlab engine package is actually installed under the separate anacodna3/lib/python2.7/site-package/matlab folder rather than the normal anaconda3/lib/python3.7/site-package. So you need to manually move that matlab folder to the site-package folder your python is using. If you have multiple virtual envs, move it to the corresponding site-package folder of the virtual env you will run program.