Originally posted by Chris Rorden:
Are you running the beta Sonoma as your primary operating system, or are you running it as a virtualized operating system? I know that virtualized systems can not support MRIcroGL or FSLeyes yet, but I had assumed a primary operating system will support Sonoma.
One alternative is to use the MRIcroMTL version. This uses Metal instead of OpenGL so it is in theory an more optimized solution, albeit it does not support all the features.
https://github.com/rordenlab/MRIcroGL/releases/tag/v1.2.20210317
Thank you for your response. Yes I'm using Sonoma as primary system. I tried using MRIcroMTL but sadly it still cannot run script. So I tried using python to launch MRIcroGL with my script. It raised errors messages as follows
Fatal Python error: initsite: Failed to import the site module
Error processing line 1 of /Users/cz/.local/lib/python3.7/site-packages/google_auth-1.30.1-py3.9-nspkg.pth:
Traceback (most recent call last):
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 168, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'types'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 579, in <module>
main()
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 565, in main
known_paths = addusersitepackages(known_paths)
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 315, in addusersitepackages
addsitedir(user_site, known_paths)
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 207, in addsitedir
addpackage(sitedir, name, known_paths)
File "/Applications/MRIcroGL.app/Contents/Resources/python37/lib/python3.7/site.py", line 178, in addpackage
import traceback
ModuleNotFoundError: No module named 'traceback'
So I tried removing the google_auth-1.30.1-py3.9-nspkg.pth but same erros appered with protobuf-3.17.1-py3.7-nspkg.pth. I removed it too. Then it works! I can run Python script with MRIvroGL now! But thank you anyway for your kind help!
Threaded View
Title | Author | Date |
---|---|---|
chenzheng | Sep 18, 2023 | |
Chris Rorden | Sep 18, 2023 | |
chenzheng | Sep 18, 2023 | |
Chris Rorden | Sep 19, 2023 | |