I\'m trying to get scipy.misc.imread to just read in an image and tell me it size, which I\'ve been able to do fine on other computers but it\'s failing for me on a new Mac:
Solved! Libjpeg wasn't installed when I installed PIL. So I did this:
pip uninstall PIL brew install libjpeg pip install PIL
and it works. I got the hint from here:
https://stackoverflow.com/a/12194881/11522