Dependiendo la distribución que estes utilizando debes instalar el paquete
libmysqlclient-dev con él podrás solucionar el problema.

Saludos.

2017-05-15 7:39 GMT-04:00 Horacio <horacio9...@gmail.com>:

> Hola he intentado instalar mysql-python con:
>
> pip install MySQL-python
>
> en un entorno virtual de python 2.7,,, pero me devuelve este error,,,
>
> Collecting MySQL-python
>   Using cached MySQL-python-1.2.5.zip
>     Complete output from command python setup.py egg_info:
>     sh: 1: mysql_config: not found
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-build-4fxiGF/MySQL-python/setup.py", line 17, in
> <module>
>         metadata, options = get_config()
>       File "setup_posix.py", line 43, in get_config
>         libs = mysql_config("libs_r")
>       File "setup_posix.py", line 25, in mysql_config
>         raise EnvironmentError("%s not found" % (mysql_config.path,))
>     EnvironmentError: mysql_config not found
>
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-4fxiGF/MySQL-python/
>
>
> mysql_config como archivo no existe el que existe en linux es
> /usr/bin/mysql_config_editor ,,, los archivos de configuración de
> MySql están ya que hace rato que funciona para el sistema wordpress,,,
> no sé alguna idea de solución?
> _______________________________________________
> Python-es mailing list
> Python-es@python.org
> https://mail.python.org/mailman/listinfo/python-es
>



-- 
Juan Vargas
(58) 426 - 2795326
@RootWeiller
@Lab42Software

Emprendimientos
www.grupolab42.com.ve

Blog
http://sinsitioweb.wordpress.com
Linux User 461138

"Si quieres que los demás te sigan, no tienes más que ir delante de ellos"
Alfonso Alcántara
_______________________________________________
Python-es mailing list
Python-es@python.org
https://mail.python.org/mailman/listinfo/python-es

Responder a