Advertisement
Guest User

Untitled

a guest
May 21st, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. (env) root@localhost:~/django-apps/******# pip3 install mysqlclient
  2. Collecting mysqlclient
  3. Using cached mysqlclient-1.4.6.tar.gz (85 kB)
  4. Building wheels for collected packages: mysqlclient
  5. Building wheel for mysqlclient (setup.py) ... error
  6. ERROR: Command errored out with exit status 1:
  7. command: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-iebuc7zk
  8. cwd: /tmp/pip-install-ohc867w4/mysqlclient/
  9. Complete output (28 lines):
  10. running bdist_wheel
  11. running build
  12. running build_py
  13. creating build
  14. creating build/lib.linux-x86_64-3.8
  15. creating build/lib.linux-x86_64-3.8/MySQLdb
  16. copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb
  17. copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.8/MySQLdb
  18. copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.8/MySQLdb
  19. copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.8/MySQLdb
  20. copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.8/MySQLdb
  21. copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.8/MySQLdb
  22. copying MySQLdb/release.py -> build/lib.linux-x86_64-3.8/MySQLdb
  23. copying MySQLdb/times.py -> build/lib.linux-x86_64-3.8/MySQLdb
  24. creating build/lib.linux-x86_64-3.8/MySQLdb/constants
  25. copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  26. copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  27. copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  28. copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  29. copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  30. copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  31. running build_ext
  32. building 'MySQLdb._mysql' extension
  33. creating build/temp.linux-x86_64-3.8
  34. creating build/temp.linux-x86_64-3.8/MySQLdb
  35. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/root/django-apps/env/include -I/usr/include/python3.8 -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.8/MySQLdb/_mysql.o
  36. unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  37. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  38. ----------------------------------------
  39. ERROR: Failed building wheel for mysqlclient
  40. Running setup.py clean for mysqlclient
  41. Failed to build mysqlclient
  42. Installing collected packages: mysqlclient
  43. Running setup.py install for mysqlclient ... error
  44. ERROR: Command errored out with exit status 1:
  45. command: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm0h0ydg/install-record.txt --single-version-externally-managed --compile --install-headers /root/django-apps/env/include/site/python3.8/mysqlclient
  46. cwd: /tmp/pip-install-ohc867w4/mysqlclient/
  47. Complete output (28 lines):
  48. running install
  49. running build
  50. running build_py
  51. creating build
  52. creating build/lib.linux-x86_64-3.8
  53. creating build/lib.linux-x86_64-3.8/MySQLdb
  54. copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb
  55. copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.8/MySQLdb
  56. copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.8/MySQLdb
  57. copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.8/MySQLdb
  58. copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.8/MySQLdb
  59. copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.8/MySQLdb
  60. copying MySQLdb/release.py -> build/lib.linux-x86_64-3.8/MySQLdb
  61. copying MySQLdb/times.py -> build/lib.linux-x86_64-3.8/MySQLdb
  62. creating build/lib.linux-x86_64-3.8/MySQLdb/constants
  63. copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  64. copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  65. copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  66. copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  67. copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  68. copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.8/MySQLdb/constants
  69. running build_ext
  70. building 'MySQLdb._mysql' extension
  71. creating build/temp.linux-x86_64-3.8
  72. creating build/temp.linux-x86_64-3.8/MySQLdb
  73. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/root/django-apps/env/include -I/usr/include/python3.8 -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.8/MySQLdb/_mysql.o
  74. unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  75. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  76. ----------------------------------------
  77. ERROR: Command errored out with exit status 1: /root/django-apps/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ohc867w4/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cm0h0ydg/install-record.txt --single-version-externally-managed --compile --install-headers /root/django-apps/env/include/site/python3.8/mysqlclient Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement