django - How to reinstall PIL on mac OS X Snow Leopard -


i have been hours on this. needed jpeglib , pil reinstalled.

i installed jpeg lib http://www.ijg.org/, please tell me if that's right.

i still have reinstall pil. installed fink, apt-get, still not clear how uninstall pil before installing it.

and installation, do apt-get install py-pil only? see different instructions here , here. way should go? can't figure out, sudo python setup.py install reinstall python 2.6, or installs whichever thing in directory of? however:

[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 fink. uses separate install of python , dependencies. won't actual problem.

secondly, you're trying run things inside site-packages - wrong. go directory downloaded pil (or download again, if don't still have it) , run sudo python setup.py install.

and no, won't reinstall python - uses python run setup of directory you're in.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -