nipy / PySurfer

Cortical neuroimaging visualization in Python
https://pysurfer.github.io/
BSD 3-Clause "New" or "Revised" License
240 stars 97 forks source link

make_montage error #150

Closed natalieklein closed 8 years ago

natalieklein commented 8 years ago

Hi all, I get the following error when I try to use make_montage or save_montage.

File "/anaconda/lib/python2.7/site-packages/surfer/viz.py", line 73, in make_montage
    import Image
ImportError: No module named Image

In ipython, I can do "from PIL import Image" just fine but just "import Image" by itself gives the same error. I tried to look at the link mentioned in the comments just prior to this line in make_montage but it did not illuminate anything for me... Am I missing some library, or is there something else I need to do to make this work?

Thank you!

larsoner commented 8 years ago

We should probably do from PIL import image. Can you make a PR?