History of AFNI updates  

|
October 02, 2017 11:59AM
It seems we're still in Python 2 land. One alternate is to just change the start of each script from:

/usr/bin/env python
to
/usr/bin/env python2.7

I just tried this on a current Mac and several Linux boxes without issue (Macs don't have python2 as an option by default). This way, though, the scripts get to stay Python2 and yet those of us with default Python3 environments don't have to juggle things around just to run the scripts.

Craig
Subject Author Posted

Make AFNI compatible with both Python 2 and 3

herrlich10 July 11, 2017 10:09PM

Re: Make AFNI compatible with both Python 2 and 3

Daniel Glen July 12, 2017 12:26PM

Re: Make AFNI compatible with both Python 2 and 3

herrlich10 July 13, 2017 02:50AM

Re: Make AFNI compatible with both Python 2 and 3

celstark October 02, 2017 11:59AM

Re: Make AFNI compatible with both Python 2 and 3

bbfrederick July 13, 2018 11:10AM

Re: Make AFNI compatible with both Python 2 and 3

Daniel Glen July 13, 2018 12:22PM

Re: Make AFNI compatible with both Python 2 and 3

ptaylor July 13, 2018 12:58PM

Re: Make AFNI compatible with both Python 2 and 3

Daniel Glen July 13, 2018 02:29PM