Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal Process failed to launch: Native Exception (file not found) #59

Open
CollinCodez opened this issue Feb 2, 2023 · 4 comments
Open

Comments

@CollinCodez
Copy link

When I try to open a matlab terminal, I get the error pictured below.
image

I have Matlab R2022b installed (it is not on my boot drive, if that makes a difference), Python 3.8.10 is installed (was done via the microsoft windows store) and in PATH (have not entered the location into the matlab interactive terminal). I have also set up the MATLAB Engine API for Python. I can't seem to figure out what to do to make this work. Any suggestions?

@alonso-herreros
Copy link

Same problem here.
OS: Windows 11 Home (22621.1265)
VS Code version: 1.75.1 (Installed for all users)
MatLab version: 2022b update 4 (9.13.0.2166757)
Python version: 3.10.10 (installed through the Windows Store)

Matlab, Python, Java, and VS Code are all on the same drive and in PATH. MATLAB Engine API for Python was installed from the files in the MATLAB folder (extern\engines\python).
I get the exact same error.

@alonso-herreros
Copy link

I managed to fix this by uninstalling the Windows Store version of Python, and then installing it the old way, using the .exe form the python downloads page (version 3.10.10, latter versions are not supported by the MATLAB Engine API apparently). I selected the installation for all users (through the "customize install" option) and then I double checked the PATH variable to make sure the correct version of python was selected. Now it works!

@amansk0307
Copy link

same problem here....

@amansk0307
Copy link

I managed to fix this by uninstalling the Windows Store version of Python, and then installing it the old way, using the .exe form the python downloads page (version 3.10.10, latter versions are not supported by the MATLAB Engine API apparently). I selected the installation for all users (through the "customize install" option) and then I double checked the PATH variable to make sure the correct version of python was selected. Now it works!

You're genius!!!
thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants