I have MATLAB R2016a and I would like to interface it with Python. I have Python 3.6 and I installed the MATLAB Engine API for Python. However, I receive the following error:
OSError: Please reinstall MATLAB Engine for Python or contact MathWorks Technical Support for assistance: No module named 'matlabengineforpython3_6'
From the system requirements, I saw that the latest Python version supported by MATLAB R2016a is the 3.4. Therefore, I think that the easiest way to solve this issue is to upgrade MATLAB to MATLAB R2018a, which supports Python 3.6.
However, I would like to know if I need to uninstall the MATLAB Engine API for Python that I already installed or if I can just install the new API.
If I need to uninstall the previous API, can you guide me through the process?
Best Answer