[Pythonmac-SIG] which python pil?
calvin at xmission.com
Thu Jun 5 18:20:36 EDT 2003
> > what I want to know is will it build pil with jpeg
> > support if I have the jpeg libs installed?
> Yes. If you use Package Manager to install PIL it will install the jpeg
> reader. If you install a binary PIL through PackMan this happens
> automatically (because I built the PIL distribution on a system where
> libjpeg was available), if you install PIL from source it will work
> correctly if you've installed libjpeg through fink.
well, I tried doing it through source, and I don't like fink, so I tried
it the old fashioned way. it didn't work. I can keep fiddling, but how
install pil with a package manager? Nothing on the PIL website
> I haven't done it, but I'm interested. And as you say you've got more
> questions than answers: if you can try building MySQLdb and give me a
> recipe I'll add it to the package manager.
hah! well I did do it. I followed the instructions for mysql install from
here are the basic instructions for MySQLdb:
$ tar xfz MySQL-python-0.9.2.tar.gz
$ cd MySQL-python-0.9.2
$ python setup.py build
$ python setup.py install
To get it to work I had to make the following changes to setup.py
include_dirs = [
library_dirs = [
elif sys.platform[:6] == "darwin": # Mac OS X
and it seems work okay. it imports anyway...yeah it works just fine.
EXCEPT for through apache!
here is sys.path in Apache:
No site-packages...which is where MySQLdb lives. How can I fix this?
oh, and testing out MySQLdb just now I discovered I have no readline!
i installed it before installing the dmg of 2.3b1 How can I fix this?
you can find my complete installation instructions at
188.8.131.52/Install_procedure.txt At the end of which is my little cgi
test script. The install_procedure.txt has my apache mods, everything i
need to do to get a complete web system working. this one's still under
refinement (eg pil).
why would apache have a different python path?
thank you for your help.
More information about the Pythonmac-SIG