Hi Roman, I am using MySQL with Python -- in Windows XP for a contract.
I hope my comments can be useful: When dealing with installation on Python, I noticed that tiny details can make a difference -- e.g. first I installed the latest version of Python 3.x, but it did not attend what I am looking for: the need to put MySQLdb and Python to communicate together. Then what I need to do was to downgrade the Python version to Python 2.5 which works nicely with the MySQLdb2.5 package. I also installed the ActivePython-2.6 to get it working with win32com. The ActivePython looks to me a more complete version of Python compiler. Then, in the sequence I configured it to compile using Eclipse IDE. Threader. ---------- Forwarded message ---------- From: Roman Gorbunov <r.d.gorbu...@gmail.com> To: python-list@python.org Date: Sat, 19 Sep 2009 08:18:31 -0700 (PDT) Subject: How to install pysqlite? Hi all, I am trying to install pysqlite (Python interface to the SQLite). I downloaded the file with the package (pysqlite-2.5.5.tar.gz). And I did the following: gunzip pysqlite-2.5.5.tar.gz tar xvf pysqlite-2.5.5.tar cd pysqlite-2.5.5 python setup.py install At the last step I have a problem. I get the following error message: error: command 'gcc' failed with exit status 1 I found that other peoples also had this problem. For example here: http://forums.opensuse.org/applications/400363-gcc-fails-during-pysqlite-install.html As far as I understood in the person had a problem because sqlite2 was not installed. But in my case, I have sqlite3 (I can run it from command line). May be I should change some paths in "setup.cfg"? At the moment I have there: #define= #include_dirs=/usr/local/include #library_dirs=/usr/local/lib libraries=sqlite3 define=SQLITE_OMIT_LOAD_EXTENSION And if I type "which sqlite3" I get: /usr/bin/sqlite3 Can anybody pleas help me with that problem. Thank you in advance.
-- http://mail.python.org/mailman/listinfo/python-list