On Tue, May 26, 2009 at 11:53 PM, Seph Soliman <[email protected]> wrote: > Would it be possible to compile and run a local version of PIL 1.1.7 with > Django even if 1.1.6 is installed in site-packages in the python > installation? We're running Django through Apache with mod_python currently.
Yes, you can install it locally and then make sure the installation directory comes before site-packages in sys.path (e.g. by adding it to PYTHONPATH, or by manipulating sys.path in settings.py). If you install it in DIR, you may want to add both DIR and DIR/PIL to the path to make sure that both "import Image" and "from PIL import Image" works properly (if you always use the latter form, you only need DIR in the path). </F> _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
