Hi,
my system: Linux neurojoost 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
my error when trying to run brainvisa from command line:
~$ brainvisa
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/usr/local/brainvisa-4.2.1/lib/python2.5/os.py", line 471, in <module>
class _Environ(UserDict.IterableUserDict):
AttributeError: 'module' object has no attribute 'IterableUserDict'
what am i doing wrong?
merci,
-joost
brainvisa 4.2.1 Ubuntu 10.4
-
- Site Admin
- Posts: 161
- Joined: Thu Mar 01, 2007 4:22 pm
- Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
- Contact:
Re: brainvisa 4.2.1 Ubuntu 10.4
Hello,
Did you modify your environment variables ?
What is the result if you type the command "which brainvisa" ?
Dominique
Did you modify your environment variables ?
What is the result if you type the command "which brainvisa" ?
Dominique
Re: brainvisa 4.2.1 Ubuntu 10.4
Hi,
1.
in my .bashrc i have:
function brainvisa_setup
{
. /usr/local/brainvisa/bin/bv_env.sh /usr/local/brainvisa
}
2.
jjanssen@neurojoost:/usr/local/brainvisa$ brainvisa_setup
jjanssen@neurojoost:/usr/local/brainvisa$ which brainvisa
/usr/local/brainvisa/bin/real-bin/brainvisa
-joost
1.
in my .bashrc i have:
function brainvisa_setup
{
. /usr/local/brainvisa/bin/bv_env.sh /usr/local/brainvisa
}
2.
jjanssen@neurojoost:/usr/local/brainvisa$ brainvisa_setup
jjanssen@neurojoost:/usr/local/brainvisa$ which brainvisa
/usr/local/brainvisa/bin/real-bin/brainvisa
-joost
-
- Site Admin
- Posts: 161
- Joined: Thu Mar 01, 2007 4:22 pm
- Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
- Contact:
Re: brainvisa 4.2.1 Ubuntu 10.4
Which Brainvisa package did you install ? Linux or Linux 64 bits ?
Re: brainvisa 4.2.1 Ubuntu 10.4
Hi,
given that the linux 64 bits package was released on 2012_02_17 (not on 2012_02_16) and my README file reads
jjanssen@neurojoost:/usr/local/brainvisa$ more README
BRAINVISA / ANATOMIST
INSTALL INSTRUCTIONS
Pack Version : 4.2.1
Release date : 2012_02_17
####################
# INSTALLATION
i gather that i have the 64 bits version. my stamp:
Linux neurojoost 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
given that the linux 64 bits package was released on 2012_02_17 (not on 2012_02_16) and my README file reads
jjanssen@neurojoost:/usr/local/brainvisa$ more README
BRAINVISA / ANATOMIST
INSTALL INSTRUCTIONS
Pack Version : 4.2.1
Release date : 2012_02_17
####################
# INSTALLATION
i gather that i have the 64 bits version. my stamp:
Linux neurojoost 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
-
- Site Admin
- Posts: 161
- Joined: Thu Mar 01, 2007 4:22 pm
- Location: IFR 49 - Neurospin, Gif-sur-Yvette, France
- Contact:
Re: brainvisa 4.2.1 Ubuntu 10.4
That's very strange. I've just tried the Linux 64 bits package on my Ubuntu 10.4 64 bits and I had no such problem.
The error message is incomprehensible because the python in the package actually has a UserDict module with a IterableUserDict class in it...
Could you check if you use the python and the python modules of the package ?
Try the following commands and tell me the results:
Dominique
The error message is incomprehensible because the python in the package actually has a UserDict module with a IterableUserDict class in it...
Could you check if you use the python and the python modules of the package ?
Try the following commands and tell me the results:
Code: Select all
which python
python
import site
site.__file__
import UserDict
UserDict.__file__
UserDict.IterableUserDict
Re: brainvisa 4.2.1 Ubuntu 10.4
problem solved, my bad.
merci,
-joost
merci,
-joost