nyukat / breast_cancer_classifier

Deep Neural Networks Improve Radiologists' Performance in Breast Cancer Screening

Home Page:https://ieeexplore.ieee.org/document/8861376

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import Error: No module named 'imageIO'

Tonthatj opened this issue · comments

Hi everyone I have downloaded the files and when I try to run run.sh, the program breaks at each stage when importing reading_images.py at line 27. ImportError: No module named 'imageio'. I am doing this through the command line. I try to see if it is installed I did pip install imagio and it said requirement already satisfied. I then further try to see if its the path to python by trying to run :python3 import imageio in the same directory, but that command doesn't throw an error.

Hi,

Are you working with multiple python environments and could it be possible that you installed imageio in a different environment from the one you are actually using when you execute run.sh? Line 27 of reading_images.py is correct, so the problem seems to be arising from your python installation.

Hi, there is only one python environment. I agree that your code is correct as when I start an instance of python3 and then copy and past line 27, it does not throw an error. This means Imageio is already installed on the machine. Yet it still throws that error.

@Tonthatj I'm afraid this is related to your environment and not our code.