rordenlab / MRIcroGL

v1.2 GLSL volume rendering. Able to view NIfTI, DICOM, MGH, MHD, NRRD, AFNI format images.
https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage
Other
204 stars 32 forks source link

macOS Python scripting #35

Closed neurolabusc closed 2 years ago

neurolabusc commented 2 years ago

The latest release of MRIcroGL for macOS (v1.2.20211006) transitions from using the system Python 2.7 to a statically linked Python 3.7. This is in response to deprecation of Python 2.7 and Apple's requests that applications should not use the system Python. Some users have reported that scripting no longer works, though using previous versions works. Best guess is that this reflects people upgrading where the old installation set the PyLib preference to Python 2.7.

  1. Does installing the v1.2.20211007 dmg resolve this?
  2. Does using the -r argument from the terminal to reset the preferences resolve the issue? e.g. /Applications/MRIcroGL.app/Contents/MacOS/MRIcroGL -r