help > Template scripts are not working in latest version (OSX)
Showing 1-9 of 9 posts
Display:
Results per page:
Jan 11, 2022  03:01 PM | Sam Knight - KCL
Template scripts are not working in latest version (OSX)
It says it cannot find Python home: /System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7.dylib/python37

Previous version scripts work fine. Any idea how I could fix this?
Jan 11, 2022  04:01 PM | Chris Rorden
RE: Template scripts are not working in latest version (OSX)
1. Can you provide the text when you choose MRIcroGL/About

1.2.20211007 Cocoa ARM64 LLVM
Author: Chris Rorden
License: BSD 2-Clause
Version 11.5.2 (Build 20G95) MacBookAir10,1
Retina Scale: 1
Apple; OpenGL= 2.1 Metal - 71.7.1; Shader=1.20
2.1 Max 3D texture: 2048
Current texture: 768×768×34 76mb
2. Can you paste the output of running "sw_vers" from the terminal command line?
sw_vers
ProductName: macOS
ProductVersion: 11.5.2
BuildVersion: 20G95
3. If you are using a version prior to v1.2.20211006, does downloading and installing the dmg for that version resolve your issue?
https://github.com/rordenlab/MRIcroGL/re...
Jan 15, 2022  03:01 AM | Chuanji Gao
RE: Template scripts are not working in latest version (OSX)
Hi Chris,

Hope you are doing well.
I had the same issue when using the latest version: 1.2.20211006 on my mac big Sur 11.5.2.
"Unable to find Python home: /System/Library/Frameworks/Python.framework/Versions/Current/lib/libpython2.7.dylib/python37"

1. Can you provide the text when you choose MRIcroGL/About
1.2.20211006 Cocoa x86-64 LLVM
Author: Chris Rorden
License: BSD 2-Clause
Version 11.5.2 (Build 20G95) MacBookPro16,1
Retina Scale: 2
ATI Technologies Inc.; OpenGL= 2.1 ATI-4.6.20; Shader=1.20
2.1 Max 3D texture: 16384
Current texture: 207×256×215 43mb

2. Can you paste the output of running "sw_vers" from the terminal command line?
ProductName: macOS
ProductVersion: 11.5.2
BuildVersion: 20G95

One thing that may be related, when I type "which python" in terminal, i got
which python
/Users/u250167/opt/anaconda3/bin/python

Could you give me some advice on this? Thanks
Jan 15, 2022  03:01 PM | Sam Knight - KCL
RE: Template scripts are not working in latest version (OSX)
Originally posted by Chris Rorden:
1. Can you provide the text when you choose MRIcroGL/About

1.2.20211007 Cocoa ARM64 LLVM
Author: Chris Rorden
License: BSD 2-Clause
Version 11.5.2 (Build 20G95) MacBookAir10,1
Retina Scale: 1
Apple; OpenGL= 2.1 Metal - 71.7.1; Shader=1.20
2.1 Max 3D texture: 2048
Current texture: 768×768×34 76mb
2. Can you paste the output of running "sw_vers" from the terminal command line?
sw_vers
ProductName: macOS
ProductVersion: 11.5.2
BuildVersion: 20G95
3. If you are using a version prior to v1.2.20211006, does downloading and installing the dmg for that version resolve your issue?
https://github.com/rordenlab/MRIcroGL/re...
Hi Chris,

1.2.20211006 Cocoa x86-64 LLVM
Author: Chris Rorden
License: BSD 2-Clause
Version 12.1 (Build 21C52) MacBookPro14,1
Retina Scale: 2
Intel Inc.; OpenGL= 2.1 INTEL-18.3.5; Shader=1.20
2.1 Max 3D texture: 2048
Current texture: 207×256×215 43mb


2. 
ProductName: macOS
ProductVersion: 12.1
BuildVersion: 21C52


3. The previous version (v1.2.20210824) works fine. I'll continue to use this version for now. 
Jan 16, 2022  12:01 PM | Jan Sanda
RE: Template scripts are not working in latest version (OSX)
Originally posted by Sam Knight:
It says it cannot find Python home: /System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7.dylib/python37

Previous version scripts work fine. Any idea how I could fix this?
The same problem. Reinstallation didn't work for me :(
Jan 16, 2022  04:01 PM | Chris Rorden
RE: Template scripts are not working in latest version (OSX)
I have created a new issue
  https://github.com/rordenlab/MRIcroGL/issues/35
Unfortunately, I can not replicate this issue on my system. Can you try these two methods in sequence to see if they resolve your issue:

1. Install the v1.2.20211007 .dmg 
 
https://github.com/rordenlab/MRIcroGL/re...

2. If this fails, does launching the application from the terminal command line with the "-r" argument resolve the issue? This varies depending on your installation location, but for most users it is:

/Applications/MRIcroGL.app/Contents/MacOS/MRIcroGL -r
Jan 17, 2022  12:01 AM | Chuanji Gao
RE: Template scripts are not working in latest version (OSX)
Hi Chris, 

I have installed the version (v1.2.20211007) that you pointed to and it works perfectly now!
Thanks!

Best,
Chuanji
Jan 17, 2022  09:01 AM | Sam Knight - KCL
RE: Template scripts are not working in latest version (OSX)
Hi Chris,

Thanks for your help. v1.2.20211007 seems to work fine.

Best wishes,

Sam
Jan 17, 2022  02:01 PM | Chris Rorden
RE: Template scripts are not working in latest version (OSX)
OK, I have upgraded the macOS package hosted on NITRC to include this fix. This support will also be part fo future releases.