FNNDSC / med2image

Converts medical images to more displayable formats, e.g. NIfTI to jpg.
MIT License
188 stars 56 forks source link

problem with med2image #8

Open bm19140 opened 6 years ago

bm19140 commented 6 years ago

Hi i installed med2image (ver 1.1.1)with: pip3 install med2image but when When i run it i have this following error :

med2image -i .\MRI.nii -d out -o image.jpg -s -1 Traceback (most recent call last): File "med2image.py", line 29, in from . import error ImportError: cannot import name 'error' please help me. thanks

bm19140 commented 6 years ago

I need it. why does not work. please help me

rudolphpienaar commented 6 years ago

We are sorry you are experiencing an error.

Can you provide more information? For example, on what platform/OS are you running this? I also see that you specified the input as ".\MRI.nii" which seems strange to me. The use of the "\" makes me think you are on Windows?

On 2018/02/10 00:39, bm19140 wrote:

Hi i installed med2image (ver 1.1.1)with: pip3 install med2image but when When i run it i have this following error :

med2image -i .\MRI.nii -d out -o image.jpg -s -1 Traceback (most recent call last): File "med2image.py", line 29, in from . import error ImportError: cannot import name 'error' please help me. thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/med2image/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYt5Ge1nYV9iN4Q0rB2_PggcF-8lfAAks5tTSuQgaJpZM4SA0KG.

bm19140 commented 6 years ago

yes. i use windows7. which platform is suitable for med2image. i installed ba1 it on centos (with fsl-vbm virtual machine) again had more error. i need it . please help me. thanks

bm19140 commented 6 years ago

in windows: ba2

mtoloo commented 6 years ago

I had the same problem and solved by installing python3-tk package using os package manager (Ubuntu)

mfeldman143 commented 6 years ago

image windows10 I also had that error and tried to install python3-tk but it does not exist

lucastakejame commented 6 years ago

Same problem here (windows 10).

mangozy commented 6 years ago

I do not know how to use this package in both Windows command line environment and Python 3 Jupyter Notebook environment. If you could explain how to use med2image? The description on https://pypi.org/project/med2image/#description is insufficient to explain how to use this package. Thanks.

cmd_error

notebook_error

alexlaurence commented 5 years ago

In unix, you have to write python3 med2image ... In jupyter notebook, you have to write !med2image ...

Sakib1263 commented 4 years ago

This command is not for windows.

arushivyas commented 4 years ago

Please go through the new and updated README.rst file and follow the instructions to run med2image on a UNIX system.

We are now also providing a Docker container called pl-med2img

Follow this link for detailed instructions: https://github.com/FNNDSC/pl-med2img

sparklerl commented 6 months ago

https://github.com/FNNDSC/med2image/issues/19#issuecomment-2031632791