christianpayer / MedicalDataAugmentationTool-VerSe

GNU General Public License v3.0
175 stars 81 forks source link

ImportError: No module named 'utils.io' #5

Open liushuangliuliu opened 4 years ago

liushuangliuliu commented 4 years ago

After installing tensorflow,I run the code ,I get the simgle import error :

import utils.io.image ModuleNotFoundError: no module named 'utils.io and before this error I get the error:

ImportError: No module named 'utils'

After installing the python-utils,the 'utils' work but 'utils.io' doesn't work

My environment: linux ubuntu 16.04 + Tensorflow 1.3.0 + Python 3.6.2

Any help is highly appreciated.

xx126 commented 4 years ago

After installing tensorflow,I run the code ,I get the simgle import error :

import utils.io.image ModuleNotFoundError: no module named 'utils.io and before this error I get the error:

ImportError: No module named 'utils'

After installing the python-utils,the 'utils' work but 'utils.io' doesn't work

My environment: linux ubuntu 16.04 + Tensorflow 1.3.0 + Python 3.6.2

Any help is highly appreciated.

From Readme.md: You need to have the MedicalDataAugmentationTool framework downloaded and in you PYTHONPATH for the scripts to work.

SniperM99 commented 4 years ago

After installing tensorflow,I run the code ,I get the simgle import error :

import utils.io.image ModuleNotFoundError: no module named 'utils.io and before this error I get the error:

ImportError: No module named 'utils'

After installing the python-utils,the 'utils' work but 'utils.io' doesn't work

My environment: linux ubuntu 16.04 + Tensorflow 1.3.0 + Python 3.6.2

Any help is highly appreciated.

You need to have the MedicalDataAugmentationTool framework downloaded and in you PYTHONPATH for the scripts to work