Hi Jesse It seems there's something wrong with your Python installation.
Can you do the following? type python and in the interpreter, enter import os and see if it works. -Krish On Dec 4, 2010, at 6:48 PM, Jesse Bledsoe wrote: > Hello FreeSurfer group, > > I am unable to run asegstats2table and cannot view asegstats2table -- > help. I did some looking in the archives and it seems like there > were bugs in previous versions that were fixed before version 4.2.0. > Any ideas on how to fix this? At this point I have been creating my > own tables and viewing each individual aseg.stats file for each > participant. > > When I use the following: > > asegstats2table --subjects subject1 subject 2 --meas volume -- > tablefile aseg_stats.txt > > I get the following error: > > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/usr/local/freesurfer/bin/asegstats2table", line 4, in ? > import os; > ImportError: No module named os > Thank you for your time, > > Jesse (Linux-centos4-stable-pub-v4.2.0) > > On Tue, Nov 30, 2010 at 3:43 PM, Jesse Bledsoe <bleds...@msu.edu> > wrote: > Hello, > > I am having difficulty generating an aseg_stats.txt table. > > When I use the following: > > asegstats2table --subjects subject1 subject 2 --meas volume -- > tablefile aseg_stats.txt > > I get the following error: > > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/usr/local/freesurfer/bin/asegstats2table", line 4, in ? > import os; > ImportError: No module named os > > > I am on Linux-centos4-stable-pub-v4.2.0 > > Any suggestions are much appreciated, > Jesse > > > > -- > Jesse Bledsoe, M.A. > Clinical Psychology Graduate Student > Assistant Director, Consortium for Neurodevelopmental Study > Department of Psychiatry > Michigan State University > 321 W. Fee Hall > East Lansing, MI 48824 > ______________________________________ > > Note: Information contained in this electronic message and any > attachments to this message are intended for the exclusive use of > the addressee(s) and may contain proprietary, confidential or > privileged information. If you are not the intended recipient, you > should not disseminate, distribute or copy this e-mail. Please > notify the sender immediately and destroy all copies of this message > and any attachments. > _______________________________________________ > 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 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 Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.