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 won't open #54

Open
Mikestriken opened this issue Aug 24, 2022 · 2 comments
Open

Terminal won't open #54

Mikestriken opened this issue Aug 24, 2022 · 2 comments

Comments

@Mikestriken
Copy link

Everytime I select the terminal I get:
'c:\Users....vscode\extensions\apommel.matlab-interactive-terminal-0.4.0\interfaces\unicode\ml_terminal.py' terminated with exit code: 9009.

Python is in my PATH variable:
→ D:\Programs\Miscellaneous\Python\Python310\Scripts
→ D:\Programs\Miscellaneous\Python\Python310\

What am I doing wrong?

@Houndoom96
Copy link

It may be because MATLAB Engine API for Python does not support Python 3.10

@Mikestriken
Copy link
Author

Yes and no; it's mainly because I'm retarded and didn't read the 'requirements' section....

Here are the versions of python that matlab supports for x version of matlab
https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf

AND in the requirements section this project currently only supports:
Python x64 2.7, 3.7 or 3.8

So since I'm using the latest version of MatLab I HAVE to use version 3.8 of python.
The latest version of 3.8 with an installer is 3.8.10
soo this version:
https://www.python.org/downloads/release/python-3810/

Then I didn't read the part about installing the MatLab Engine API... well I did I just figured it was something I had to check in the MatLab installer (and not a python file I had to run):
https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html

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

2 participants