How to reinstall PIL on mac OS X Snow Leopard
I have been for hours on this. I needed to get jpeglib and PIL reinstalled.
I installed jpeg lib from http://www.ijg.org/, please tell me if that's right.
I still have to reinstall PIL. I installed Fink, for apt-get, but still am not clear how to uninstall completely PIL before installing it.
And then installation, do i do apt-get install py-pil only? I see different instructions
[petarpetrov@/Library/Python/2.6/site-packages/PIL]$ sudo python setup.py install python: can't open file 'setup.py': [Errno 2] No such file or directory
thanks in advance
Don't muck about with fink. That uses a completely separate install of Python and all its dependencies. It really won't help with your actual problem.
Secondly, you're trying to run things from inside site-packages - this is wrong. Go back to the directory where you downloaded PIL (or download it again, if you don't still have it) and run sudo python setup.py install.
And no, it won't reinstall Python - it uses python to run the setup of the directory you're in.