Advertisement
metalbat97

python mysql error

Jan 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. [root@localhost bin]# pip install mysql
  3. Collecting mysql
  4. Using cached mysql-0.0.1.tar.gz
  5. Collecting MySQL-python (from mysql)
  6. Using cached MySQL-python-1.2.5.zip
  7. Complete output from command python setup.py egg_info:
  8. sh: mysql_config: command not found
  9. Traceback (most recent call last):
  10. File "<string>", line 1, in <module>
  11. File "/tmp/pip-build-EzrK1Z/MySQL-python/setup.py", line 17, in <module>
  12. metadata, options = get_config()
  13. File "setup_posix.py", line 43, in get_config
  14. libs = mysql_config("libs_r")
  15. File "setup_posix.py", line 25, in mysql_config
  16. raise EnvironmentError("%s not found" % (mysql_config.path,))
  17. EnvironmentError: mysql_config not found
  18.  
  19. ----------------------------------------
  20. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-EzrK1Z/MySQL-python/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement