mp2rage_compute_t1_map doesn't launch
Closed this issue · 6 comments
Installed under virtualenv under OSX 10.12.
The vitual environment has pymrt installed. I have replaced the utils.py, computation.py, init.py, naming.py, sequences/mp2rage.py.
When I execute python mp2rage/mp2rage_compute_t1_map.py -h
I have an error. Here is the log:
____ __ __ ____ _____
| _ \ _ _| \/ | _ \_ _|
| |_) | | | | |\/| | |_) || |
| __/| |_| | | | | _ < | |
|_| \__, |_| |_|_| \_\|_|
|___/
Traceback (most recent call last):
File “mp2rage/mp2rage_compute_t1_map.py”, line 17, in <module>
import pymrt.computation as pmc
File “/Users/atbadj/proj_mp2rage/venv/lib/python2.7/site-packages/pymrt/computation.py”, line 57, in <module>
import pymrt.utils as pmu
File “/Users/atbadj/proj_mp2rage/venv/lib/python2.7/site-packages/pymrt/utils.py”, line 42, in <module>
from pymrt.base import elapsed, print_elapsed
ImportError: No module named base
@slevyrosetti: do you think you can have a look at it? If not i'll try to... thanks!
Hi!
I guess this comes from that a new version of PyMRT was released so when you ran pip install pymrt
you installed this latest version. The version of PyMRT you need is 0.0.1.3. Could you try to:
1-uninstall PyMRT running: pip uninstall pymrt
2-follow the installation procedure I described on the home page line by line but instead of running pip install pymrt
, please run: pip install pymrt==0.0.1.3
in order to install the right version.
One question: why are you trying to install it in a virtualenv?
@alexfoias: any follow-up? Did you try @slevyrosetti's suggestion?
Hi!
As far as I remember, it fixed the problem but maybe @alexfoias and/or @atefbadji could confirm that?
@jcohenadad @slevyrosetti yes the problem was fixed. The instructions listed in the readme file are accurate and reproducible (I retried to setup the environment successfully).
We can close this issue.
Issue fixed using pymrt==0.0.1.3 upon installation.