MySQL-python-1.2.2 install with no mysql

Jarek Zgoda jzgoda at
Tue Jan 15 11:42:38 CET 2008

washakie napisał(a):

> 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 build
> sh: mysql_config: command not found
> Traceback (most recent call last):
>   File "", line 16, in ?
>     metadata, options = get_config()
>   File "/opt/MySQL-python-1.2.2/", line 43, in get_config
>     libs = mysql_config("libs_r")
>   File "/opt/MySQL-python-1.2.2/", 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???

In short: without installing client libraries you cann't.

Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

More information about the Python-list mailing list