It doesn't seem like your python --> /usr/bin/python3 linking is setup. Can you add these two lines to your bash_profile: alias python="python3" alias pip="pip3"
Then either open a new terminal or source your bash_profile before testing that a call to python is pointing to your python3 installation. source ~/.bash_profile python --version Best, Avnish ________________________________ From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Justin Oh <ohj...@gmail.com> Sent: Thursday, February 9, 2023 12:16 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] FS FAST External Email - Use Caution Hi Avnish, Justins-MacBook-Air:~ justinoh$ whereis python3 python3: /usr/bin/python3 Justins-MacBook-Air:~ justinoh$ which python Justins-MacBook-Air:~ justinoh$ which python3 /usr/local/bin/python3 Justins-MacBook-Air:~ justinoh$ brew info python -bash: brew: command not found Justins-MacBook-Air:~ justinoh$ I've posted the outputs. Thank you for your assistance! Best, Justin Oh On Thu, Feb 9, 2023 at 9:53 AM Kumar, Avnish <avnish.ku...@mgh.harvard.edu<mailto:avnish.ku...@mgh.harvard.edu>> wrote: Can you post the outputs of these three commands: which python which python3 brew info python Best, Avnish ________________________________ From: freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu> <freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>> on behalf of Justin Oh <ohj...@gmail.com<mailto:ohj...@gmail.com>> Sent: Tuesday, February 7, 2023 11:18 AM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>> Subject: Re: [Freesurfer] FS FAST External Email - Use Caution Hi all, I'm trying to run preproc-sess on a resting state MRI and I've tried to define python to python3 path. I assume it's trying to call python into the environment but I'm not sure how to do this. I'm running a macOS m1 apple chip. I've tried including each of these in my bash profile but still comes up with the same error. python=/usr/bin/python3 set python=/usr/bin/python3 export python=/usr/bin/python3 This is the what appears in my terminal when i run preproc-sess /Users/justinoh/Desktop/subject/11 stc.fsl --i /Users/justinoh/Desktop/subject/11/session_11/rest/901/fmcpr.nii.gz --o /Users/justinoh/Desktop/subject/11/session_11/rest/901/fmcpr.up.nii.gz --ngroups 1 --up Tue Feb 7 11:10:54 EST 2023 /Users/justinoh/Desktop/subject/11 /Applications/freesurfer/7.3.2/fsfast/bin/stc.fsl --i /Users/justinoh/Desktop/subject/11/session_11/rest/901/fmcpr.nii.gz --o /Users/justinoh/Desktop/subject/11/session_11/rest/901/fmcpr.up.nii.gz --ngroups 1 --up FreeSurferEnv.csh 7.3.2 Justins-MacBook-Air.local /Users/justinoh/Desktop/subject/11 mri_info --nslices --o /Users/justinoh/Desktop/subject/11/session_11/rest/901/tmp.3413/nslices.dat /Users/justinoh/Desktop/subject/11/session_11/rest/901/fmcpr.nii.gz nslices = 46 slicedelay --nslices 46 --up --o /Users/justinoh/Desktop/subject/11/session_11/rest/901/tmp.3413/sdf.txt --ngroups 1 env: python: No such file or directory Thank you! On Thu, Jan 26, 2023 at 10:11 AM Douglas N. Greve <dgr...@mgh.harvard.edu<mailto:dgr...@mgh.harvard.edu>> wrote: Something like set MATLAB=/usr/pubsw/common/matlab/8.4 Now that I think about it, you may be able to use the compiled version of fsfast. There are only two programs that use matlab, mkcontrast-sess and selxavg3-sess. You can try adding -bin on to both of those to use the compiled version (which does not require a license but you still have the runtime libraries installed). On 1/25/2023 12:19 PM, Justin Oh wrote: External Email - Use Caution My bash profile currently sets up my freesurfer environment with each terminal. Should I also be exporting matlab into my environment and define a path to the application? If so what should i include in my bash profile. On Wed, Jan 25, 2023 at 11:00 AM Douglas N. Greve <dgr...@mgh.harvard.edu<mailto:dgr...@mgh.harvard.edu>> wrote: I have not idea, try it and see. On 1/25/2023 9:25 AM, Justin Oh wrote: External Email - Use Caution Is the student version of MATLAB enough to run in the background? Our institution does not provide a license unfortunately. I tried using octave but i can't seem to get octave to work. Best, Justin Oh On Thu, Jan 12, 2023 at 9:38 AM Douglas N. Greve <dgr...@mgh.harvard.edu<mailto:dgr...@mgh.harvard.edu>> wrote: Just the basic is ok. Although I have not done it in a while, you should also be able to use octave (which is free). Once you get octave install and in your path, set the env variable FS_USE_OCTAVE to 1. Like I said, I have not used it in a while, but it I think it should still work. On 1/11/2023 9:31 AM, Justin Oh wrote: External Email - Use Caution Dear Freesurfer team, I am new to freesurfer and I'm working on learning how to pre process and analyze resting state fMRI. It's my understanding that MATLAB and FSL have to run in the background from what I took away from online tutorials. Is there a specific program within MATLAB that is necessary or will purchasing the basic student package from MATLAB be sufficient? Thank you for your time! -Justin Oh _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/12_iTb-HdC1PaTnlohzMR7QEJwpWsiLik6aq8xjTMFXePXhAiMnufIx_G9FsIkEISGfuvhsfhTPf2kDwT2A-20UEuUb7ctVxbqDgdauLuPtvBQ5pH-AIu3vfN_ZIYTbGccPH3gchpsKKzjJCygXxMRNiyCYOG1v69hTubg1l2vIBrzSMFSzPx_Dc5UDU-98wxTVLBIXwiFVROMpGyHSTPoCnj3WS04biyvCLhzGgmMityIEmE7u55_xr40DxNWUuBp8F-i8whB7wVg7Elzi9WglskKwUpLVcml8sb1r1Iz1Vphm-j-vTUlMISmELaEjFce8zpZnK0TNfjgi-kWwMpvg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/12_iTb-HdC1PaTnlohzMR7QEJwpWsiLik6aq8xjTMFXePXhAiMnufIx_G9FsIkEISGfuvhsfhTPf2kDwT2A-20UEuUb7ctVxbqDgdauLuPtvBQ5pH-AIu3vfN_ZIYTbGccPH3gchpsKKzjJCygXxMRNiyCYOG1v69hTubg1l2vIBrzSMFSzPx_Dc5UDU-98wxTVLBIXwiFVROMpGyHSTPoCnj3WS04biyvCLhzGgmMityIEmE7u55_xr40DxNWUuBp8F-i8whB7wVg7Elzi9WglskKwUpLVcml8sb1r1Iz1Vphm-j-vTUlMISmELaEjFce8zpZnK0TNfjgi-kWwMpvg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/13baPsIRwAe6NBx7SpUvfwmNbyoI8-wXcJSCQgRxAIDfJ1g5m0nb9W3TACPCQ_TrdKXPy9MPnfA45YmMTMfJLfwO4mJn8wKAxchjACimLZvCD39Ks8ENZgIJhdGxv05equM5SMyY4-V7gd79fSxPdRLPoS59AQn4te1l0u4O9bgDbQx9gjie4kLGDUfhunw-BskSYn5QZ_ROlMCjKqN1-Wd3gcza0zYB8xbY7IM062f0oi60E6vPOmOkffwhaAmfqZOIFYf2EOdrea8nLfHbVGkbxWKnLEE3e7I6ltByIoSh5q-u5sp-08E6gI5bTpwaUrTes-Js7W03K2U9kEqmm8w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/13baPsIRwAe6NBx7SpUvfwmNbyoI8-wXcJSCQgRxAIDfJ1g5m0nb9W3TACPCQ_TrdKXPy9MPnfA45YmMTMfJLfwO4mJn8wKAxchjACimLZvCD39Ks8ENZgIJhdGxv05equM5SMyY4-V7gd79fSxPdRLPoS59AQn4te1l0u4O9bgDbQx9gjie4kLGDUfhunw-BskSYn5QZ_ROlMCjKqN1-Wd3gcza0zYB8xbY7IM062f0oi60E6vPOmOkffwhaAmfqZOIFYf2EOdrea8nLfHbVGkbxWKnLEE3e7I6ltByIoSh5q-u5sp-08E6gI5bTpwaUrTes-Js7W03K2U9kEqmm8w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>> . _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/1uw7Ub5XVnBxI-x7HmZiDAxHlN1kY7PXlR5N2A_R7l-l0cI_FRxacgDc6PpDJ7wbIujfwqVycpq6jy2cdK7ZV7Mp0YFePK3_-ng9SQ0INtZDsy-nvXoWLX2rvr5cYVQNamKMn6WpzTCRD1QZMXQ8w-SmnqMGUn1T877o2-JsVODnpCp2FiWBUq5aceRmjsUCiK3lq48HxZsy81_dydoFJQ9A_W-Ua3Omlp-lrnunqMjE-ASHBfZM84TodEJZ6s3TWZE_nbNAaFGCxMA4VeiY5gacdD1ri3-hGqzWQEBR8FyUBibCAANho1kYKutkBl77DqzUmrX82Hm8AvxZDoPaTew/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/1uw7Ub5XVnBxI-x7HmZiDAxHlN1kY7PXlR5N2A_R7l-l0cI_FRxacgDc6PpDJ7wbIujfwqVycpq6jy2cdK7ZV7Mp0YFePK3_-ng9SQ0INtZDsy-nvXoWLX2rvr5cYVQNamKMn6WpzTCRD1QZMXQ8w-SmnqMGUn1T877o2-JsVODnpCp2FiWBUq5aceRmjsUCiK3lq48HxZsy81_dydoFJQ9A_W-Ua3Omlp-lrnunqMjE-ASHBfZM84TodEJZ6s3TWZE_nbNAaFGCxMA4VeiY5gacdD1ri3-hGqzWQEBR8FyUBibCAANho1kYKutkBl77DqzUmrX82Hm8AvxZDoPaTew/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/13jTvd6wWWAS8N6Z5oHUpxVPXYtMLsy_6ognc8DOiYN2mbInS6cLFZxecNMaWqYoBuzshmpKXzF3GeY5BtoaVq4b_NyMHKuiANrn1OAkEZXNecd8c5khGS-AZEXpNRwKlSBFbBM7HDJuIWzQ9YyAiDCskyz51_X3xaBIk2TviDwum5V3hU9UZ08G4SdNvdF0GTliPimWXG2dAHTTsTd5Bo4kl4ZzdREgLvfJyt-GZch7hZd3_1t2Qtm02EUHhvXsNi32nVnliJoAn7ND-1OozYgMEIEv3vDUT90l1BFFLypX07gCLnDSZmG8VQm7SGIkk4jxLItvDcqDR0iuAMyJB3A/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/13jTvd6wWWAS8N6Z5oHUpxVPXYtMLsy_6ognc8DOiYN2mbInS6cLFZxecNMaWqYoBuzshmpKXzF3GeY5BtoaVq4b_NyMHKuiANrn1OAkEZXNecd8c5khGS-AZEXpNRwKlSBFbBM7HDJuIWzQ9YyAiDCskyz51_X3xaBIk2TviDwum5V3hU9UZ08G4SdNvdF0GTliPimWXG2dAHTTsTd5Bo4kl4ZzdREgLvfJyt-GZch7hZd3_1t2Qtm02EUHhvXsNi32nVnliJoAn7ND-1OozYgMEIEv3vDUT90l1BFFLypX07gCLnDSZmG8VQm7SGIkk4jxLItvDcqDR0iuAMyJB3A/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>> . _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/1fhd8MqVNO_Epp3uWn-HNTCeNytJLRHOzJYSmCT_I8Wp_jZo2CWm-O1W1HT6pT7ZEbEQhuRI8cvFxSBOgSJzaGxSGkF8MCPLz9D2fOT_pZrsUTvWgmC-FwHqA6wygszDcyCJqONJsUZj5_rF_0Fa3yY1elmbDbH9BrWMdMyYjEGOuMTTHrqTF93TjwZF19DyBL_s10ZKtKHSK2Of1xXfv27Or3U7QWqeTu-7GhKeip2NO-Chn7R7MIMc0CzAC0JozUsGcyiyY_keLGkCa3imQLsXB04k9TnjRgxm54ATnwI79zIkwNgv4aRMuDaz2IxZBHji2zjA6Wd2AGPN9u6EvSg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/1fhd8MqVNO_Epp3uWn-HNTCeNytJLRHOzJYSmCT_I8Wp_jZo2CWm-O1W1HT6pT7ZEbEQhuRI8cvFxSBOgSJzaGxSGkF8MCPLz9D2fOT_pZrsUTvWgmC-FwHqA6wygszDcyCJqONJsUZj5_rF_0Fa3yY1elmbDbH9BrWMdMyYjEGOuMTTHrqTF93TjwZF19DyBL_s10ZKtKHSK2Of1xXfv27Or3U7QWqeTu-7GhKeip2NO-Chn7R7MIMc0CzAC0JozUsGcyiyY_keLGkCa3imQLsXB04k9TnjRgxm54ATnwI79zIkwNgv4aRMuDaz2IxZBHji2zjA6Wd2AGPN9u6EvSg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/1KMpSbTaLfMcusXl1xcvWv6UKZ2vtcG0LdQ91cEX8M_iaXXgNmi60vxsrUCd4wsYQXNHqcyTcKcqeJRSL67qJinGHyekHS02TEivNVQfv-0kWh6Gchf77qglTKl-ilSBNKtZ3EZfxLgwfL8gDzYdDvxPneS98MPnBydmP7El9IakSPpyYGp3hPHiRZKh18UQ_ruDAvComrHuYzsRgsa-HCl07ElZwodOA3E-Y9Xzg3NqzHZqGWaaQs19HeSsT7yCSCSyqauewNWQ8zVXD6S0kWIxVe73SYdYtChO-gxk-1Amf0zie-1Dqm64H6XrBPoyjLud1zv1j_9HvL48KC7ko_g/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/1KMpSbTaLfMcusXl1xcvWv6UKZ2vtcG0LdQ91cEX8M_iaXXgNmi60vxsrUCd4wsYQXNHqcyTcKcqeJRSL67qJinGHyekHS02TEivNVQfv-0kWh6Gchf77qglTKl-ilSBNKtZ3EZfxLgwfL8gDzYdDvxPneS98MPnBydmP7El9IakSPpyYGp3hPHiRZKh18UQ_ruDAvComrHuYzsRgsa-HCl07ElZwodOA3E-Y9Xzg3NqzHZqGWaaQs19HeSsT7yCSCSyqauewNWQ8zVXD6S0kWIxVe73SYdYtChO-gxk-1Amf0zie-1Dqm64H6XrBPoyjLud1zv1j_9HvL48KC7ko_g/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>> . _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/11HLtRqqB7w7Hct2yc_ufmUDMXe6BGbJ6y_s2CydPSvPWE52x1Cr0LmWe1KtO9ZxKDMNa3qmRCxfJ_dxVYIFhEP2NoIRX5aPQgGNGn7AzHs76iBGPQDQ2XRvurZyotJ7XaAcYA9l-8xbjoATVGmdUe0I14n6z-4xA7hgZmoOJCNKITLsd0nLGSuFwPzi8rlRiUEJEPvs15TRfUEjdrq9Pab2Da1IQbW4s2eTTbrGGVSA74VnRyEj4isFmJCjXUEeIGmFhpzvvjH9upA7S0PTobS6IP1x0B7zX3Q8NhkDQezY0w5Kkrl1qEXnbIbsDV6yHGoiz1dNsX-xyCl-gjhaSsw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/1vrUiL-3RQWprxWpGhsrEAEG9CNz6Kfeqjtkl5_hzKjo5h11dzw2GqGLDXdmYGrkuGUmZ5vHryNi8vpbaQbWrSVRH33cnA7BKMaEAcNJAnNC52z4hhpJWqIcKook5jt2mLS5GVwRpyZ0td4mP1rCvP3S-xbWj4-mVU4D8Fqwb5XkENb8r8dyOAMBBOnIliOYaZf8sJKzI6-N1Met4fhAM6yzEqd-kgJTHTYcdo18OLKwx2-ytuKd1HG-F4ktvqMVn_3U8IS_VINl8yTMFHo7Pnb9tI1J-Duk6NKzqY4Xn32rQ7-2ZyUu2DvjrbPT4XYbPpIkJYfYILKOuYcjLPmoH5w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/1vrUiL-3RQWprxWpGhsrEAEG9CNz6Kfeqjtkl5_hzKjo5h11dzw2GqGLDXdmYGrkuGUmZ5vHryNi8vpbaQbWrSVRH33cnA7BKMaEAcNJAnNC52z4hhpJWqIcKook5jt2mLS5GVwRpyZ0td4mP1rCvP3S-xbWj4-mVU4D8Fqwb5XkENb8r8dyOAMBBOnIliOYaZf8sJKzI6-N1Met4fhAM6yzEqd-kgJTHTYcdo18OLKwx2-ytuKd1HG-F4ktvqMVn_3U8IS_VINl8yTMFHo7Pnb9tI1J-Duk6NKzqY4Xn32rQ7-2ZyUu2DvjrbPT4XYbPpIkJYfYILKOuYcjLPmoH5w/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>> .
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.