title: How can I Fix an ImportError
body: <p>So I am stuck on how can I fix the import error for imresize. I installed all the things I needed like installing Pillow but I haven't been able to find a solution. Also the code that I trying to run is from this github link <a href="https://github.com/CSAILVision/IBD" rel="nofollow noreferrer">https://github.com/CSAILVision/IBD</a> 
  Also side note I do not own this code nor was not the original arthor of it. This is for a research project that I am apart of. In addition I try asked the original arthor with a fix but haven't heard back from them at all. </p>
  
  <p>Installing Pillow, Replacing with code: from scipy.misc.pilutil import imread, installing Pillow-3.3.1-cp27-cp27m-win32.whl, Unninstall Pil and installing Pillow, Reinstalling Pillow. </p>
  
  <pre><code>from util.image_operation import *
  from PIL import Image
  import numpy as np
  from imageio import imresize, imread
  from visualize.plot import random_color
  from torch.autograd import Variable as V
  import torch
  </code></pre>
  
  <p>I expect it to run but print out the image but it doesn't.</p>
  
  <pre><code>Traceback (most recent call last):
  
  
       File "test.py", line 4, in &lt;module&gt;
          from loader.model_loader import loadmodel
  
        File "/home/joshuayun/Desktop/IBD/loader/model_loader.py", line 5, in &lt;module&gt;
  
  
       from util.feature_operation import hook_feature, hook_grad
        File "/home/joshuayun/Desktop/IBD/util/feature_operation.py", line 6, in &lt;module&gt;
          from imageio import imresize, imread, imsave
      ImportError: cannot import name 'imresize'
  </code></pre>