Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. $ pipenv install MySQLdb
  2. Installing MySQLdb…
  3. Collecting MySQLdb
  4.  
  5. Error: An error occurred while installing MySQLdb!
  6. Could not find a version that satisfies the requirement MySQLdb (from versions: )
  7. No matching distribution found for MySQLdb
  8.  
  9. (TKR-nbw7vQQ7) awiacek@debian:~/Workspace/TKR$ pipenv install mysqlclient
  10. Installing mysqlclient…
  11. Collecting mysqlclient
  12. Downloading mysqlclient-1.3.12.tar.gz (89kB)
  13. Complete output from command python setup.py egg_info:
  14. sh: 1: mysql_config: not found
  15. Traceback (most recent call last):
  16. File "<string>", line 1, in <module>
  17. File "/tmp/pip-build-lCqc7u/mysqlclient/setup.py", line 17, in <module>
  18. metadata, options = get_config()
  19. File "setup_posix.py", line 44, in get_config
  20. libs = mysql_config("libs_r")
  21. File "setup_posix.py", line 26, in mysql_config
  22. raise EnvironmentError("%s not found" % (mysql_config.path,))
  23. EnvironmentError: mysql_config not found
  24.  
  25. ----------------------------------------
  26.  
  27. Error: An error occurred while installing mysqlclient!
  28. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lCqc7u/mysqlclient/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement