Installing MySQL-python-0.9.0.tar.gz

Skip Montanaro skip at pobox.com
Sat Aug 4 11:20:54 EDT 2001


    Andrey> I am a newbie and I don't have any experience with instaling
    Andrey> modules. I attepmted to install the MySQL-python-0.9.0.tar.gz
    Andrey> package on a Darwin machine. I set all paths correctly, but when
    Andrey> I try to install it says that it's unable to locate the Python.h
    Andrey> file. What is this file and where should it be? 

Andrey,

I'm not sure what a Darwin machine is (MacOS X?), but make sure you have
both runtime and development packages installed.  On Redhat-derived Linux
systems Python is packaged in two or more pieces (typically "python" and
"python-devel").  It sounds like you don't have the development package
installed.  If Python is in /usr/bin/python, Python.h is probably in
/usr/include/pythonX.Y, where X.Y is the version number (e.g. "2.1").

If you built Python yourself, make sure you have it installed properly.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list