[pymvpa] opensuse 11.2 installation

Yaroslav Halchenko debian at onerussian.com
Mon Jan 18 03:13:48 UTC 2010


wow -- that is quite an old version you've managed to install (0.4.1) --
that one indeed might have issues with python 2.6.

I guess you did use those RPMs.  Unfortunately we could not provide rpms
for fresh versions due to problems with building them using SuSe build
service.

But lets try to deploy for you some recent version ;)
http://www.pymvpa.org/installation.html#building-from-source

the simplest way, if you have git available, just run following few
lines:

git clone git://git.debian.org/git/pkg-exppsy/pymvpa.git
cd pymvpa
# if you don't do following you will end up with development
# unstable version:
git checkout -b maint/0.4 --track origin/maint/0.4
make
export PYTHONPATH=$PWD


That should do it.  You should be able to use pymvpa now of version
0.4.3 + fixes (that is what is contained within maint/0.4 branch).

P.S. Just please rename poor python2.6 back to normal ;)
P.S.S. If that was too easy, but since you are only now coming to
PyMVPA, you might like to take challenge and use developmental version
of PyMVPA which has a substantial amount of changes including API.  So
you might prefer to learn it once and for long ;-)  Then just use master
branch, run (if you did that checkout of maint/0.4 on top)

git checkout master
make clean; make


On Sun, 17 Jan 2010, Gui Xue wrote:

>    well, tried cheat the system by rename python2.6 to python2.5, seems
>    everything has been installed fine.
>    can run import mvpa, nifti, but when run 'from mvpa.suite import *',
>    the following errors occur, can anyone help:
>    >>> from mvpa.suite import *
>    Traceback (most recent call last):
>      File "<stdin>", line 1, in <module>
>      File "/usr/lib/python2.6/site-packages/mvpa/suite.py", line 26, in
>    <module>
>        from mvpa.algorithms.cvtranserror import
>    *
>      File
>    "/usr/lib/python2.6/site-packages/mvpa/algorithms/cvtranserror.py",
>    line 13, in <module>
>        from mvpa.support.copy import deepcopy
>      File "/usr/lib/python2.6/site-packages/mvpa/support/copy.py", line
>    25, in <module>
>        from copy import copy, deepcopy
>    ImportError: cannot import name copy
>    thanks
>    gui

>    On Sat, Jan 16, 2010 at 11:05 AM, Gui Xue <[1]guixue at gmail.com> wrote:

>      thanks. i used both the rpm and yast, both of them gave me the same
>      complaint.
>      not sure what's happening.
>      thanks,
>      gui

>    On Sat, Jan 16, 2010 at 10:29 AM, Michael Hanke
>    <[2]michael.hanke at gmail.com> wrote:

>      Hi,
>      I'm still a bit clueless -- is there anybody here with some suse
>      experience?

>    On Sat, Jan 16, 2010 at 10:21:55AM -0800, Gui Xue wrote:
>    > yeah, i read through the instruction. everytime i try to install it,
>    it
>    > says:

>    > Python > 2.5 needed by ...
>    > python < 2.6 needed by ...
>    > libpython2.5.so.1.0 needed

>      Who says this? What is the command you ran to get this output? Are
>      you
>      trying to install from source? from RPM? Which version are you
>      trying to
>      install?

>    > but i only have python 2.6

>    > i tried to manually installed python 2.5 on my computer, and the
>    > libpython2.5.so.1.0 is in my /usr/lib and /usr/local/lib directory,
>    but it
>    > still gave me the same complaint.

>      As has be said before, PyMVPA should work fine with 2.6. We
>      definitely
>      need more information to be able to help you.
>      Michael
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





More information about the Pkg-ExpPsy-PyMVPA mailing list