Dear All, I am very much new to python, therefore I am likely to feel stupid about asking this. I need pyMPVA module to play around with some fMRI data. I have installed Python2.6 on Mac OS X Leopard. When I input >>> import mvpa i get a deprecation warning, which is not a problem, however when I try the following: >>> >>> import mvpa.suite as mvpa i do not get a deprecating warning however I get a number of errors that are as follows: >>> import mvpa.suite as mvpa
Traceback (most recent call last): File "<pyshell#14>", line 1, in <module> import mvpa.suite as mvpa File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/suite.py", line 38, in <module> from mvpa.algorithms.cvtranserror import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/algorithms/cvtranserror.py", line 15, in <module> from mvpa.measures.base import DatasetMeasure File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/measures/base.py", line 31, in <module> from mvpa.clfs.stats import autoNullDist File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/clfs/stats.py", line 772, in <module> if externals.exists('pylab'): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/base/externals.py", line 432, in exists exec _KNOWN[dep] File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mvpa/base/externals.py", line 249, in __check_pylab import pylab as P File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/pylab.py", line 206, in <module> from matplotlib import mpl # pulls in most modules File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/mpl.py", line 2, in <module> from matplotlib import axis File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axis.py", line 10, in <module> import matplotlib.font_manager as font_manager File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/font_manager.py", line 1297, in <module> _rebuild() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/font_manager.py", line 1288, in _rebuild fontManager = FontManager() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/font_manager.py", line 980, in __init__ self.ttffiles = findSystemFonts(paths) + findSystemFonts() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/font_manager.py", line 337, in findSystemFonts for f in get_fontconfig_fonts(fontext): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/font_manager.py", line 298, in get_fontconfig_fonts pipe = subprocess.Popen(['fc-list', '', 'file'], stdout=subprocess.PIPE) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 621, in __init__ errread, errwrite) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1126, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory ----- I am not sure what the problem is (I do not know enough to pinpoint it at a glance) and I would appreciate any feedback. And I do once again apologize for asking stupid questions. Kind Regards, J. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor