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

Python scripting broken with Python 3.9 #20

Closed
pmediano opened this issue Feb 18, 2021 · 1 comment
Closed

Python scripting broken with Python 3.9 #20

pmediano opened this issue Feb 18, 2021 · 1 comment

Comments

@pmediano
Copy link

As per the title. Using the latest pre-compiled Linux release, opening or trying to run any script (either through the GUI or the command-line options) makes this error pop out:

Error: could not find symbol "PyImport_Cleanup"
Python could not be properly initialized. We must quit.

And then MRIcroGL proceeds to fail abruptly with an access violation. This is probably because PyImport_Cleanup has been removed after Python 3.8. Just to double-check, I installed Python 3.8 (via pyenv), updated the PyLib in the MRIcroGL12.ini file, and scripting works as normal again.

PS: MRIcroGL is awesome, thanks a lot for a really nice piece of software!

@neurolabusc
Copy link
Contributor

Thanks. This will be fixed in the upcoming release which now uses Python27-for-Lazarus.

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