
removido
(usa Nenhuma)
Enviado em 22/11/2017 - 13:28h
srs. boa tarde, estou com um problema no Ubuntu, nao consigo instalar no Settings (Pycharm) o mysqlclient, o erro apresentado é:
Executed commnd:
pip install mysqlcliente
OSError:mysql_config not found
Proposed solution:
Try to run this commando from the system terminal. Make sure that you use the correct versio of 'pip' installed for your Python interpreter located at' /home/olegario/testemysql/bin/python.
_______________________________________________________________________
Command output:(na caixa branca)
Collecting mysqlclient
Using cached mysqlclient-1.3.12.tar.gz
Complete output from command python setup.py egg_info:
/bin/sh: 1: mysql_config: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pycharm-packaging/mysqlclient/setup.py", line 17, in <module>
metadata, options = get_config()
File "/tmp/pycharm-packaging/mysqlclient/setup_posix.py", line 44, in get_config
libs = mysql_config("libs_r")
File "/tmp/pycharm-packaging/mysqlclient/setup_posix.py", line 26, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
OSError: mysql_config not found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pycharm-packaging/mysqlclient/