[pymvpa] PyMVPA import error
James M. Hughes
james.m.hughes at dartmouth.edu
Fri Oct 15 22:26:49 UTC 2010
Unfortunately shogun is a dependency of pymvpa in macports and so it
won't let me remove it.
I tried before to activate another version of pymvpa that doesn't have
shogun as a dependency, but strangely got the same error, although it
occurred in a slightly different place:
/opt/local/lib/python2.5/site-packages/mvpa/clfs/svm.py in <module>()
52
53 if externals.exists('shogun'):
---> 54 from mvpa.clfs import sg
55 SVM = sg.SVM
56 #if not 'LinearCSVMC' in locals():
/opt/local/lib/python2.5/site-packages/mvpa/clfs/sg/__init__.py in
<module>()
15 debug('INIT', 'mvpa.clfs.sg')
16
---> 17 from mvpa.clfs.sg.svm import SVM
18
19 if __debug__:
/opt/local/lib/python2.5/site-packages/mvpa/clfs/sg/svm.py in <module>()
26
27 # Rely on SG
---> 28 import shogun.Features
29 import shogun.Classifier
30 import shogun.Regression
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/shogun/Features.py in <module>()
30 del swig_import_helper
31 else:
---> 32 import _Features
33 del version_info
34 try:
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/site-packages/shogun/_Features.so, 2):
Symbol not found: ___gmpn_sub_nc
Referenced from: /Applications/MATLAB_R2007b/bin/maci//libgmp.3.dylib
Expected in: flat namespace
On Oct 15, 2010, at 6:23 PM, Yaroslav Halchenko wrote:
> well -- has something to do with shogun build on your box and may be
> its
> Matlab (khe khe) bindings
>
> Just remove shogun altogether (unless you are using it) and then
> PyMVPA should work fine, just without shogun. Otherwise you would
> need
> to assure correct install of shogun. Alternatively you could use
> NeuroDebian VM.
>
> On Fri, 15 Oct 2010, James M. Hughes wrote:
>> ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/
>> Versions/2.5/lib/python2.5/site-packages/shogun/_Features.so, 2):
>> Symbol not found: ___gmpn_sub_nc
>> Referenced from: /Applications/MATLAB_R2007b/bin/maci//libgmp.
>> 3.dylib
>> Expected in: flat namespace
> --
> .-.
> =------------------------------ /v\ ----------------------------=
> Keep in touch // \\ (yoh@|www.)onerussian.com
> Yaroslav Halchenko /( )\ ICQ#: 60653192
> Linux User ^^-^^ [175555]
>
>
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
More information about the Pkg-ExpPsy-PyMVPA
mailing list