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

Unclear documentation of dependencies #168

Open
Artemkth opened this issue Mar 15, 2024 · 1 comment
Open

Unclear documentation of dependencies #168

Artemkth opened this issue Mar 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Artemkth
Copy link

A fact that pyspinw requires additionally 'matlab compiler SDK' component should be stated clearly somewhere, I've spent too much time tracking down the error because

except RuntimeError:

discards the exception message. I would propose also to change it to something like this:

except RuntimeError as e:
                print(f'A fatal error occured while initialising Matlab version {matlab_version} at {matlab_path}:\n {str(e)}')
                pass   

to make it more informative!

@mducle
Copy link
Member

mducle commented Mar 20, 2024

Ah yes, sorry. I assumed that people would be using the MCR, and that if they had a Matlab license would just be using the Matlab version and not Python.

I'll make a change to the error message saying that if you have a full Matlab installation you also need to install the Compiler SDK toolbox.

@mducle mducle added the bug Something isn't working label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants