[pymvpa] LinearCSVMC module not found

Liang, Guangsheng guangsheng.liang at ttu.edu
Mon Sep 28 17:04:01 UTC 2015


Well, I don’t see the smlrc.o and _svmc.o files. Probably these cause the problems?
I only find smlr.o and svmc_wrap.o in the PyMVPA_root file but cannot find _svmc.o file. 
Shall I manually copy those two files (smlr.o, svmc_wrap.o) into PyMVPA files?



On 9/28/15, 11:38 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 28 Sep 2015, at 18:28, Liang, Guangsheng <guangsheng.liang at ttu.edu> wrote:
>> 
>> Here is the error returned:
>> 
>> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/integrate/quadpack.py:293: UserWarning: Extremely bad integrand behavior occurs at some points of the
>> integration interval.
>> warnings.warn(msg)
>> WARNING: None of SVM implementation libraries was found
>> * Please note: warnings are printed only once, but underlying problem might occur many times *
>> Traceback (most recent call last):
>> File "svm_margin.py", line 30, in <module>
>> from mvpa2.clfs.svm import LinearCSVMC
>> ImportError: cannot import name LinearCSVMC
>
>Can you please verify that the following files exist on your machine?
>
>/Users/tumo/anaconda/lib/python2.7/site-packages/mvpa2/clfs/libsmlrc/smlrc.so
>/Users/tumo/anaconda/lib/python2.7/site-packages/mvpa2/clfs/libsmlrc/smlrc.o
>/Users/tumo/anaconda/lib/python2.7/site-packages/mvpa2/clfs/libsvmc/_svmc.so
>/Users/tumo/anaconda/lib/python2.7/site-packages/mvpa2/clfs/libsvmc/_svmc.o
>
>Maybe it's a path issue. What is the output of:
>
>    python -c "import sys;print('\n'.join(sys.path))"
>
>
>
>_______________________________________________
>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