[pymvpa] Fail to install upstream/0.6.0.dev inavirtualenv(Neuro Debian)

Hiroyuki AKAMA akama.h.aa at m.titech.ac.jp
Wed Dec 22 02:13:09 UTC 2010


Dear Prof. Hanke

Wonderful! It perfectly worked. Thank you so much.

In [1]: from tutorial_lib import *
/usr/lib/pymodules/python2.6/matplotlib/numerix/__init__.py:18: DeprecationWarning: 
**********************************************************
matplotlib.numerix and all its subpackages are deprecated.
They will be removed soon.  Please use numpy instead.
**********************************************************

  warnings.warn(msg, DeprecationWarning)

In [2]: ds=get_haxby2001_data()
In [3]: print len(ds)
------> print(len(ds))
16
In [4]: print ds.nfeatures
------> print(ds.nfeatures)
577
In [5]: print ds.shape
------> print(ds.shape)
(16, 577)
In [6]: print ds.sa.targets
------> print(ds.sa.targets)
['bottle' 'cat' 'chair' 'face' 'house' 'scissors' 'scrambledpix' 'shoe'
 'bottle' 'cat' 'chair' 'face' 'house' 'scissors' 'scrambledpix' 'shoe']

Best wishes

Hiroyuki AKAMA

----- Original Message -----
>> From: Michael Hanke <michael.hanke at gmail.com>
>> To: Hiroyuki AKAMA <akama.h.aa at m.titech.ac.jp>
>> Cc: Development and support of PyMVPA <pkg-exppsy-pymvpa at lists.alioth.debian.org>,brian.murphy at unitn.it
>> Date: 2010-12-22 10:48:17
>> Subject: Re: [pymvpa] Fail to install upstream/0.6.0.dev inavirtualenv(Neuro Debian)
>> 
>> Hi,
>> 
>> On Wed, Dec 22, 2010 at 10:11:10AM +0900, Hiroyuki AKAMA wrote:
>> > Yes. As you rightly pointed it out, I had not been aware of mingling
>> > files of different versions when repeating trial error between
>> > upstream/0.6.0.dev and upstream/0.5.0.dev. Now I completely removed
>> > PyMVPA from my NeuroDebian6.0.1 on Windows 7 amd-64 and restarted to
>> > install upstream/0.6.0.dev (pymvpa-26e856e.tar.gz) to be used with
>> > Python2.6.6 (I also tried Python 2.5 by changing simlink, but didn't
>> > help)
>> 
>> Great. Python 2.6 is fine, don't worry.
>> 
>> > However another kind of trouble took place, which is as follows.
>> > It would be much appreciated providing me your suggestion.
>> > 
>> > TypeError: Unexpected keyword argument inspace=time_coords for
>> > <PolyDetrendMapper: ord=1>. Valid parameters are ['training_time']
>> 
>> Ahhh! Thanks for reporting this. After updating the tutorial from 0.5 to
>> 0.6 I simply forgot to update the supplementary code in the tutorial
>> data. I'm attaching a new 'tutorial_lib.py' for you that hopefully works
>> -- haven't tested it yet though. Please replace your version of the file
>> in the tutorial data with this one and give it a try.
>> 
>> 
>> Michael
>> 
>> -- 
>> Michael Hanke
>> http://mih.voxindeserto.de
>> 
>> 



More information about the Pkg-ExpPsy-PyMVPA mailing list