behnam / python-lfp-reader

LFP (Light Field Photography) File Reader in Python
http://code.behnam.es/python-lfp-reader/
GNU General Public License v3.0
47 stars 15 forks source link

Cannot find Python Imaging Library (pil or pillow) but Pillow installed #5

Open SugarFreeBrowny opened 9 years ago

SugarFreeBrowny commented 9 years ago

Trying to use the library but when I run a command line in the command prompt it tells me that it cannot find Pillow. However, I just installed Pillow.

Thanks, Sugar

Wagyx commented 9 years ago

I may have an answer to your problem. Does the following work ? https://github.com/behnam/python-lfp-reader/issues/3

SugarFreeBrowny commented 9 years ago

I did not install Pil though. I only installed Pillow. By following this it is pretty much telling me to uninstall pillow and reinstall it.

Wagyx commented 9 years ago

sorry, if I remember correctly you just have to modify the _utils.py file like I did in https://github.com/behnam/python-lfp-reader/pull/4 reinstalling pil or pillow does not change much.

SugarFreeBrowny commented 9 years ago

This was very helpful. I have the LDK 2.0 kit so I also had to go into some other .py files and change Pil references. Thanks for the help!

Wagyx commented 9 years ago

You are welcome.