MySQL-python-1.2.2 install with no mysql

washakie washakie at gmail.com
Tue Jan 15 05:34:54 EST 2008


Hello,

I need to install the MySQL-python-1.2.2 connector in order to access a db
on another machine. In the install it asks for the location of the
mysql_config file, and if I leave it as the default I get:

[root at lars MySQL-python-1.2.2]# python setup.py build
sh: mysql_config: command not found
Traceback (most recent call last):
  File "setup.py", line 16, in ?
    metadata, options = get_config()
  File "/opt/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config
    libs = mysql_config("libs_r")
  File "/opt/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config
    raise EnvironmentError, "%s not found" % mysql_config.path
EnvironmentError: mysql_config not found
[root at lars MySQL-python-1.2.2]#      

How can I install MySQL-python-1.2.2 without installing MySQL???

thanks!!
-- 
View this message in context: http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14836669.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list