Yarik was faster ;-) 2011/3/24 Thorsten Kranz <thorstenkr...@googlemail.com>: > Hi amit, > > you are in the source-directory of pymvpa. Within this is a directory 'mvpa'. > > If you open ipython or python and type > > import mvpa > > or > > from mvpa.suite import * > > then python takes the mvpa-subdirectory as the place from where is > imports the mvpa-package. This won't work, at least for SVM / SMLR, > that use C-code bindings that have to be compiled. > > But don't waste your time compiling and trying to install all this. > > Just go to another directory! do: > > cd /home/amid > ipython > from mvpa.suite import * > > and everything should work. > > Greetings, > Thorsten > > > 2011/3/24 amit patel <damitami...@hotmail.co.uk>: >> Hello, i have >> >> amit@amit-MS-7346:~/pymvpa-0.6.0~rc2$ >> >> and everything is up to date, I still get the same error when i type from >> mvpa.suite import*, so i need to build libsvm somehow? so i tried python >> setup.py install --with -libsvm, sudo apt-get install libsvm and make 3rd, >> none of these work and come back with errors. It says it cannot find libsvm, >> so do i have to tell it where it is? >> >> thanks again >> >> Amit >> >>>>> from mvpa.suite import* >> WARNING: Failed to load fast implementation of SMLR. May be you forgotten >> to build it. We will use much slower pure-Python version. Original >> exception was /home/amit/pymvpa-0.6.0~rc2/mvpa/clfs/libsmlrc/smlrc.pyd: >> cannot open shared object file: No such file or directory >> * Please note: warnings are printed only once, but underlying problem might >> occur many times * >> WARNING: SMLR: C implementation is not available. Using pure Python one >> /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) >> >> >> >> >> >>> Date: Wed, 23 Mar 2011 19:02:19 -0400 >>> From: michael.ha...@gmail.com >>> To: pkg-exppsy-pymvpa@lists.alioth.debian.org >>> Subject: Re: [pymvpa] SMLR shared library not found >>> >>> On Wed, Mar 23, 2011 at 10:48:33PM +0000, amit patel wrote: >>> > To Thorsten and Michael thanks for reply but i thought i needed to >>> > manually install swig to help me install libsvm as the error still >>> > persists below when i do from mvpa.suite import*. I have installed >>> > latest version by using snapshot command when i run it everything is >>> > up to date it says, even though it still says pymvpa-0.6.0~rc1 from >>> > mvpa.wtf and i don't have libsvm built or installed which i need, so i >>> > tried to do it manually. I still have no success though. >>> >>> The reason is this: >>> >>> > Version: 0.6.0~rc1 >>> > Hash: feda3f526efd71a5ae34f0c1fd3d8f2334d5f412 >>> > Path: mvpa/__init__.py >>> >>> You are running your python session in the extracted source tree of a >>> 0.6.0~rc1 >>> tarball. Simply change into another directory and things will work. >>> >>> If you are running the system-wide PyMVPA, it would look like this >>> (except for the exact hash value): >>> >>> Version: 0.6.0.dev >>> Hash: a2935c1d46080d2052b08c170b71c3f794911921 >>> Path: /usr/lib/pymodules/python2.6/mvpa/__init__.pyc >>> >>> Michael >>> >>> -- >>> Michael Hanke >>> http://mih.voxindeserto.de >>> >>> _______________________________________________ >>> Pkg-ExpPsy-PyMVPA mailing list >>> Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org >>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa >> >> _______________________________________________ >> Pkg-ExpPsy-PyMVPA mailing list >> Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa >> >> >
_______________________________________________ Pkg-ExpPsy-PyMVPA mailing list Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa