MySQL-python-1.2.2 install with no mysql

Jarek Zgoda jzgoda at o2.usun.pl
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 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???

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

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101

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



More information about the Python-list mailing list