Hello,
Moving on with Primatologist, I encountered the following bug in the "Basic Mixture Fitting" sub-process. It crashes because on lines 73, 84, 106, and 116 there is a call for the function numpy.random.choice().
This function is available in numpy from version 1.7 and above, and BrainVisa comes with numpy 1.6.2 (at least the version I installed on my Ubuntu 14.04).
Olivier
Bug in primatologist -> Basic Mixture Fitting
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Bug in primatologist -> Basic Mixture Fitting
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
About this bug. On my debian system, we installed the Mandriva 2008 version, and it comes with a newer numpy version, so the bug is not there. On my Ubuntu, I had installed the Ubuntu 12.04 version...
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
Hi,
I probably forgot to upgrade numpy on this machine...
Denis
I probably forgot to upgrade numpy on this machine...
Denis
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
Can you try to upgrade directly in the brainvisa install directory ?
just in case it works (I haven't tried and the pip version here has problems, I had to reinstall it manually)
Denis
Code: Select all
<brainvisa_dir>/bin/pip install -U --prefix <brainvisa_dir> numpy scipy
Denis
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
OK, I'll try tomorrow and will let you know.
Olivier
Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
- Olivier Coulon
- Posts: 176
- Joined: Fri Feb 27, 2004 11:48 am
- Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
Hello Denis,
pip install does not have any --prefix option.
Olivier
pip install does not have any --prefix option.
Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Re: Bug in primatologist -> Basic Mixture Fitting
Hi Olivier,
So it's an old pip. You can try to upgrade pip first, using easy_install:
then retry the pip command
Denis
So it's an old pip. You can try to upgrade pip first, using easy_install:
Code: Select all
<brainvisa_dir>/bin/easy_install -U --prefix <brainvisa_dir> pip
Denis