I found a solution here but it seems to only work with python 2.7 and I need it for python 3.2. Also how do I uninstall a library?

enter image description here


I finally found out the solution. I ran this in the terminal:

sudo apt-get install libjpeg8-dev    
find /usr/lib -name libjpeg.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libjpeg.so /usr/lib/
sudo pip-3.2 install PIL
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.