[pymvpa] trouble importing mvpa2.suite
Anna Manelis
anna.manelis at gmail.com
Wed Sep 13 16:49:29 UTC 2017
Thank you very much! I think it works.
I ran in terminal:
sudo dpkg --purge python-scikits-learn
sudo dpkg --purge python-sklearn
export MVPA_EXTERNALS_HAVE_SKL=no
sudo apt-get install python-mvpa2
sudo apt-get autoremove python-sklearn-lib
python
Python 2.7.3 (default, Jun 21 2016, 18:38:19)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mvpa2.tutorial_suite import *
/usr/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The
compiler package is deprecated and removed in Python 3.x.
from compiler.consts import CO_GENERATOR
Should I just disregard this DeprecationWarning?
I am afraid to upgrade Debian from wheezy - who knows what's gonna happen
Thanks again,
Anna.
On Wed, Sep 13, 2017 at 10:17 AM, Yaroslav Halchenko <debian at onerussian.com>
wrote:
> big summary -- system and installation(s) on it quite old
>
> 1. easiest resolution(s):
>
> remove or disable sklearn
>
> remove: depends on how was installed, could be dpkg --purge
> python-sklearn
>
> disable: export MVPA_EXTERNALS_HAVE_SKL=no
>
> if you don't use it for your current analysis
>
> 2. updates:
>
>
> > PyMVPA:
> > Version: 2.1.0
>
> even on wheezy which you seems to use we have a backport of 2.6.0
> release avail from neurodebian:
>
> http://neuro.debian.net/pkgs/python-mvpa2.html
>
> > OS: posix Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.89-2
> > Distribution: debian/7.11
>
> > skl : 0.16.1
>
> unfortunately for wheezy we do not have newer backport. altogether you
> might benefit from upgrading from oldoldstable of Debian which you are
> using ATM
>
> > PYTHONPATH :
> > ":/usr/lib/python2.7/lib-old:/usr/local/lib/python2.7/dist-
> packages:/data:/usr/lib/python2.7/lib-dynload:/usr/
> lib/python2.7/plat-linux2:/usr/lib/python2.7/dist-
> packages/gtk-2.0:/usr/lib/python2.7/dist-packages:/usr/
> lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/
> IPython/extensions:/usr/lib/python2.7:/usr/lib/python2.7/
> dist-packages/wx-2.8-gtk2-unicode:/usr/lib/python2.7/
> lib-tk:/usr/lib/python2.7/dist-packages/PIL"
>
> there is some danger in the paths! e.g. you could shot
> yourself in the foot (e.g. having some module under /data
>
> --
> Yaroslav O. Halchenko
> Center for Open Neuroscience http://centerforopenneuroscience.org
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
> WWW: http://www.linkedin.com/in/yarik
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20170913/000541bc/attachment.html>
More information about the Pkg-ExpPsy-PyMVPA
mailing list