That did the trick.  Thank you so much!

-Andrew

On Mon, Oct 26, 2009 at 1:57 PM, Krish Subramaniam <
kr...@nmr.mgh.harvard.edu> wrote:

> I think the Python you have is not in the standard path /usr/bin .. you can
> verify it by typing
>
> which python
>
> It's wrong for the stats2table scripts to assume Python is in that standard
> path. So it's a bug. For a quick fix, you can change the first line of both
> files from
> #!/usr/bin/python
> to
> #!/usr/bin/env python
>
> ( this assumes env to be in your standard path.. and most of the time it
> is.. if you don't have, change that line to the path of the executable --
> like #!/opt/local/bin/python )
>
> The next release will fix this.
>
> Thanks
> Krish
>
>
> On Oct 26, 2009, at 1:46 PM, Andrew Jahn wrote:
>
>  Here is the output of my permissions:
>>
>> [The-Ohio-State-University-Server:Angled/tmp2/AddEdge] scnlab% ls -al
>> $FREESURFER_HOME/bin/*stats2table
>> -rwxrwxrwx  1 root  wheel   9013 Jan 21  2009
>> /usr/local/freesurfer/bin/aparcstats2table
>> -rwxrwxrwx  1 root  wheel  13351 Jan 21  2009
>> /usr/local/freesurfer/bin/asegstats2table
>>
>> And here's what I get just typing in the command:
>>
>> [The-Ohio-State-University-Server:Angled/tmp2/AddEdge] scnlab%
>> asegstats2table
>> asegstats2table: Command not found.
>>
>> I am using Python 2.4.4.  Does FreeSurfer require a different version?
>>
>> Thanks,
>>
>> -Andrew
>>
>>
>> On Mon, Oct 26, 2009 at 12:36 PM, Krish Subramaniam <
>> kr...@nmr.mgh.harvard.edu> wrote:
>>
>> - Do they have proper permissions?
>> ls -al $FREESURFER_HOME/bin/*stats2table
>>
>> -if they do.. might something be wrong with the default Python?
>>
>> can you paste the entire output you get?
>>
>> Krish
>>
>>
>> On Oct 26, 2009, at 12:29 PM, Andrew Jahn wrote:
>>
>> Hi,
>>
>> I am running FreeSurfer version 4.3, and when I type 'asegstats2table' I
>> get a "command not found" error.  I have my path set correctly (virtually
>> all of the other commands in the freesurfer/bin directory work), but for
>> some reason both asegstats2table and aparcstats2table do not.  Any ideas?
>>
>> Thanks,
>>
>> -Andrew
>> _______________________________________________
>> Freesurfer mailing list
>> Freesurfer@nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>>
>>
>>
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to