[pymvpa] LinearCSVMC module not found

Liang, Guangsheng guangsheng.liang at ttu.edu
Thu Sep 24 09:45:06 UTC 2015


Hi Nick,

Thank you very much for your email and help!

Yes, I do find smlrc.so, and _svmc.so file after installing anaconda on my computer. 

The installation of anaconda also fixes my problem on using PyMVPA in iPython. It probably fixed some of the path issues when it was installed on my computer, since Anaconda redirects the default python folder under its folder.

However, I still cannot use the LinearCSVMC module. Any thoughts?

Thanks again!



On 9/24/15, 4:06 AM, "Pkg-ExpPsy-PyMVPA on behalf of Nick Oosterhof" <pkg-exppsy-pymvpa-bounces+guangsheng.liang=ttu.edu at lists.alioth.debian.org on behalf of n.n.oosterhof at googlemail.com> wrote:

>
>> On 24 Sep 2015, at 09:10, Liang, Guangsheng <guangsheng.liang at ttu.edu> wrote:
>> 
>> 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”. [...]
>> 
>> 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
>
>This may be just a warning message [1]. Did this create any .so files? What happens if you run (in the PyMVPA root directory):
>
>    find mvpa2 -iname '*.so'
>
>On my system (also running Yosemite) I get:
>
>    $ find mvpa2 -iname '*.so'
>    mvpa2/clfs/libsmlrc/smlrc.so
>    mvpa2/clfs/libsvmc/_svmc.so
>
>If that does not return any matches in your case, what is the output of:
>
>    find . -iname '*.so'
>
>> 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. 
>
>This may be a path issue. Did you add the PyMVPA path to the PYTHONPATH? 
>On my system, I use:
>
>    export PYTHONPATH=/Users/nick/git/PyMVPA:${PYTHONPATH}
>
>where "/Users/nick/git/PyMVPA" is the PyMVPA root directory on my system. 
>
>(by adding this line to ~/.bash_profile, this is run every time a new Terminal window is opened.)
>_______________________________________________
>Pkg-ExpPsy-PyMVPA mailing list
>Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa


More information about the Pkg-ExpPsy-PyMVPA mailing list