[pymvpa] LinearCSVMC module not found

Liang, Guangsheng guangsheng.liang at ttu.edu
Thu Sep 24 07:10:20 UTC 2015


Dear PyMVPAer,

I am a newbie for PyMVPA, and was trying to do pattern analysis on my EEG data, but was experiencing a problem about the module LinearCSVMC. It will be very appreciated if some one could offer me some help.

I am using mac Yosemite v10.10.5. I setup the PyMVPA from the source according to the installation tutorial exactly. Everything goes well until I tried to use LinearCSVMC classifier. It returns, "name ‘LinearCSVMC’ is not defined”.

I searched the mail list record, and found there is a thread about the same issue.

http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2015q3/003173.html

It seems like the swig version causing this problem, so I used macport to downgrade my swig from 3.0.7 to 3.0.2, but it does not work neither.

I reinstalled the PyMVPA and saw warnings and errors, but I am not sure if they caused this problem.

In the step ‘python setup.py build_ext’, it has,

#### ['/usr/bin/clang', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-pipe', '-Os', '-fwrapv', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes'] #######

Missing compiler_cxx fix for UnixCCompiler

In the step ‘python setup.py install’, it has,

package init file 'mvpa2/tests/badexternals/__init__.py' not found (or not a regular file)

package init file 'mvpa2/tests/badexternals/__init__.py' not found (or not a regular file)

#### ['/usr/bin/clang', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-pipe', '-Os', '-fwrapv', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes'] #######

Missing compiler_cxx fix for UnixCCompiler

Also, when I was trying to use PyMVPA in iPython, it is very strange to see that ipython returns ’no module named mvpa2’, but in python, mvpa2 can be successfully loaded.

Thank you very much for any helps or advises!

Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20150924/691ceb0b/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list