I'm having problems with importing scipy.misc in my python script. Now I know other people also posted questions concerning this, but their solutions are not working for me.
The program I am writing begins like this:
import matplotlib as plt
from matplotlib.pyplot import imshow
from PIL import Image
from scipy.misc import bytescale
from skimage import exposure
import numpy as np
And I get an error from the scipy.misc line: ImportError: cannot import name doccer
I gathered I had to update scipy and maybe numpy, which let me to these posts:
Can't install Scipy through pip and ImportError when importing certain modules from SciPY
After this, I updated pip succesfully (this installer I generally use) and tried to update scipy. However, this gave me a lot of errors.
In the end, I tried to manually update scipy using this post and website, as suggested by others: filename.whl is not supported wheel on this platform and http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
However, somehow I get a lot of red text and 'Exception' messages (unfortunately I cannot copy/paste it here), and it ends with an IOError: [Errno22] invalid mode ('rb') or filename. I tried to install a different version of numpy as well, with similar results.
I'm unsure how to continue from here. I'm not an expert on programming or computers, so I would appreciate some help.
I'm using Windows 7, 64-bit operating system, python2.7.10 32bits, spyder 2.3.5.2