Hi Im Rajeswari.S. Im a python beginner. i have Python 2.6.2 version. I need to connect MySQL database with python scripts. First i checked whether MySQLdb is already installed by issuing the following command from a python shell as >>> import mysql i got the reply from the shell as Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named mysql >>> Then to get instructions on how to install MySQL db i visited the following site http://blog.spikesource.com/mysqldb.htm
I followed the following instructions given in the above site 1. Download a recent version from the project homepage<http://sourceforge.net/projects/mysql-python> . From the first instruction i downloaded MySQL for python inside view all files option MySQL-python-1.2.3c1.tar.gz.<http://sourceforge.net/projects/mysql-python/files/mysql-python-test/MySQL-python-1.2.3c1.tar.gz/download> Extracted the files 2. Performed the following from a shell (unix) : $ cd MySQL-python-1.2.3c1 $ python setup.py build i got the following error Traceback (most recent call last): File "setup.py", line 5, in <module> from setuptools import setup, Extension ImportError: No module named setuptools What should i do to overcome this error?Help me -- Rajeswari.S _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
