-
Notifications
You must be signed in to change notification settings - Fork 15
error message: Cannot find Python Imaging Library (PIL or Pillow) #3
Comments
I found the solution, optional:use the command "pip freeze" to check if it was correctly uninstalled I also had to remove pil from the packages with the command sudo apt-get remove python-imaging finally you have to modify the _utils.py under the lfp-reader folder if sys.hexversion < 0x03000000: then it should work, at least it worked for me |
Thanks Wagyx for investigating. What I had there was working for me at the time, so I think we better stay inclusive and allow both packaging methods. Anyway, could you please send a patch/merge-request? |
You're welcome. This code is very helpful for my project on the Lytro camera, so thank you too. I think I have done it correctly but as I am new to Github I first thought I made a mistake and did the commit 3 times in total. |
After running lfp-viewer.py, I received several lines with the following message at the end: |
Thank you @behnam for the update. It now works very well with Python 2. |
Hello,
I am trying to run the lfp functions on ubuntu 12.04.4 and I am facing this error message when i run lfp-pictures.py export *.lfp
which is weird because PIL is already installed, it seems that some path must be wrong somewhere which should not happen on ubuntu.
I read #2 but it seems to be dead because no one has answered for 4 months.
I did the ipython thing and i got
module 'Image' from '/usr/lib/python2.7/dist-packages/PIL/Image.pyc'
compared to the creator setup PILcompat became PIL
Any advice to help me find the solution is appreciated
thank you
The text was updated successfully, but these errors were encountered: