Guest User

Untitled

a guest
Aug 14th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. Finished installing PostgreSQL.
  2.  
  3. Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
  4. Executing: /lib/systemd/systemd-sysv-install disable postgresql
  5. Collecting patroni
  6. Using cached https://files.pythonhosted.org/packages/d9/71/f1465e00f5e2d3e4c00c4ef8d80c02e3c31ac76dcf6a9d3b0cdef3b62305/patroni-1.6.5.tar.gz
  7. Requirement already satisfied: urllib3!=1.21,>=1.19.1 in /usr/local/lib/python2.7/dist-packages (from patroni)
  8. Collecting PyYAML (from patroni)
  9. Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
  10. 100% |████████████████████████████████| 276kB 1.7MB/s
  11. Requirement already satisfied: six>=1.7 in /usr/local/lib/python2.7/dist-packages (from patroni)
  12. Collecting click>=4.1 (from patroni)
  13. Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
  14. 100% |████████████████████████████████| 92kB 2.9MB/s
  15. Collecting prettytable>=0.7 (from patroni)
  16. Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2
  17. Collecting python-dateutil (from patroni)
  18. Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
  19. 100% |████████████████████████████████| 235kB 1.9MB/s
  20. Collecting psutil>=2.0.0 (from patroni)
  21. Downloading https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-5.7.2.tar.gz (460kB)
  22. 100% |████████████████████████████████| 460kB 1.3MB/s
  23. Collecting cdiff (from patroni)
  24. Downloading https://files.pythonhosted.org/packages/69/6c/301876940e760a8b46c1caacf08c298f511f517c70eec32e43f38e9cc6f5/cdiff-1.0.tar.gz
  25. Building wheels for collected packages: patroni, PyYAML, prettytable, psutil, cdiff
  26. Running setup.py bdist_wheel for patroni ... done
  27. Stored in directory: /root/.cache/pip/wheels/f4/a9/ed/e90508b3177e5568707d9d0ba7b0312fd76e59ed0eb27a1c92
  28. Running setup.py bdist_wheel for PyYAML ... done
  29. Stored in directory: /root/.cache/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd
  30. Running setup.py bdist_wheel for prettytable ... done
  31. Stored in directory: /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606
  32. Running setup.py bdist_wheel for psutil ... error
  33. Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-DMsqH3/psutil/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/tmp_wVmFYpip-wheel- --python-tag cp27:
  34. running bdist_wheel
  35. running build
  36. running build_py
  37. creating build
  38. creating build/lib.linux-x86_64-2.7
  39. creating build/lib.linux-x86_64-2.7/psutil
  40. copying psutil/_compat.py -> build/lib.linux-x86_64-2.7/psutil
  41. copying psutil/_pslinux.py -> build/lib.linux-x86_64-2.7/psutil
  42. copying psutil/__init__.py -> build/lib.linux-x86_64-2.7/psutil
  43. copying psutil/_pssunos.py -> build/lib.linux-x86_64-2.7/psutil
  44. copying psutil/_psaix.py -> build/lib.linux-x86_64-2.7/psutil
  45. copying psutil/_psosx.py -> build/lib.linux-x86_64-2.7/psutil
  46. copying psutil/_psposix.py -> build/lib.linux-x86_64-2.7/psutil
  47. copying psutil/_pswindows.py -> build/lib.linux-x86_64-2.7/psutil
  48. copying psutil/_psbsd.py -> build/lib.linux-x86_64-2.7/psutil
  49. copying psutil/_common.py -> build/lib.linux-x86_64-2.7/psutil
  50. creating build/lib.linux-x86_64-2.7/psutil/tests
  51. copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-2.7/psutil/tests
  52. copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-2.7/psutil/tests
  53. copying psutil/tests/runner.py -> build/lib.linux-x86_64-2.7/psutil/tests
  54. copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-2.7/psutil/tests
  55. copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-2.7/psutil/tests
  56. copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-2.7/psutil/tests
  57. copying psutil/tests/__init__.py -> build/lib.linux-x86_64-2.7/psutil/tests
  58. copying psutil/tests/__main__.py -> build/lib.linux-x86_64-2.7/psutil/tests
  59. copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-2.7/psutil/tests
  60. copying psutil/tests/test_process.py -> build/lib.linux-x86_64-2.7/psutil/tests
  61. copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-2.7/psutil/tests
  62. copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-2.7/psutil/tests
  63. copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-2.7/psutil/tests
  64. copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-2.7/psutil/tests
  65. copying psutil/tests/test_system.py -> build/lib.linux-x86_64-2.7/psutil/tests
  66. copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-2.7/psutil/tests
  67. copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-2.7/psutil/tests
  68. copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-2.7/psutil/tests
  69. running build_ext
  70. building 'psutil._psutil_linux' extension
  71. creating build/temp.linux-x86_64-2.7
  72. creating build/temp.linux-x86_64-2.7/psutil
  73. x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kjnyAR/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=572 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_common.o
  74. psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
  75. #include <Python.h>
  76. ^~~~~~~~~~
  77. compilation terminated.
  78. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  79.  
  80. ----------------------------------------
  81. Failed building wheel for psutil
  82. Running setup.py clean for psutil
  83. Running setup.py bdist_wheel for cdiff ... done
  84. Stored in directory: /root/.cache/pip/wheels/00/c2/72/b80fe3a07b8454cdaed971b59c7e5388da030c0c7350e22a52
  85. Successfully built patroni PyYAML prettytable cdiff
  86. Failed to build psutil
  87. Installing collected packages: PyYAML, click, prettytable, python-dateutil, psutil, cdiff, patroni
  88. Running setup.py install for psutil ... error
  89. Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-DMsqH3/psutil/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-7cyqWl-record/install-record.txt --single-version-externally-managed --compile:
  90. running install
  91. running build
  92. running build_py
  93. creating build
  94. creating build/lib.linux-x86_64-2.7
  95. creating build/lib.linux-x86_64-2.7/psutil
  96. copying psutil/_compat.py -> build/lib.linux-x86_64-2.7/psutil
  97. copying psutil/_pslinux.py -> build/lib.linux-x86_64-2.7/psutil
  98. copying psutil/__init__.py -> build/lib.linux-x86_64-2.7/psutil
  99. copying psutil/_pssunos.py -> build/lib.linux-x86_64-2.7/psutil
  100. copying psutil/_psaix.py -> build/lib.linux-x86_64-2.7/psutil
  101. copying psutil/_psosx.py -> build/lib.linux-x86_64-2.7/psutil
  102. copying psutil/_psposix.py -> build/lib.linux-x86_64-2.7/psutil
  103. copying psutil/_pswindows.py -> build/lib.linux-x86_64-2.7/psutil
  104. copying psutil/_psbsd.py -> build/lib.linux-x86_64-2.7/psutil
  105. copying psutil/_common.py -> build/lib.linux-x86_64-2.7/psutil
  106. creating build/lib.linux-x86_64-2.7/psutil/tests
  107. copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-2.7/psutil/tests
  108. copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-2.7/psutil/tests
  109. copying psutil/tests/runner.py -> build/lib.linux-x86_64-2.7/psutil/tests
  110. copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-2.7/psutil/tests
  111. copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-2.7/psutil/tests
  112. copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-2.7/psutil/tests
  113. copying psutil/tests/__init__.py -> build/lib.linux-x86_64-2.7/psutil/tests
  114. copying psutil/tests/__main__.py -> build/lib.linux-x86_64-2.7/psutil/tests
  115. copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-2.7/psutil/tests
  116. copying psutil/tests/test_process.py -> build/lib.linux-x86_64-2.7/psutil/tests
  117. copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-2.7/psutil/tests
  118. copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-2.7/psutil/tests
  119. copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-2.7/psutil/tests
  120. copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-2.7/psutil/tests
  121. copying psutil/tests/test_system.py -> build/lib.linux-x86_64-2.7/psutil/tests
  122. copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-2.7/psutil/tests
  123. copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-2.7/psutil/tests
  124. copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-2.7/psutil/tests
  125. running build_ext
  126. building 'psutil._psutil_linux' extension
  127. creating build/temp.linux-x86_64-2.7
  128. creating build/temp.linux-x86_64-2.7/psutil
  129. x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kjnyAR/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=572 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_common.o
  130. psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
  131. #include <Python.h>
  132. ^~~~~~~~~~
  133. compilation terminated.
  134. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  135.  
  136. ----------------------------------------
  137. Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-DMsqH3/psutil/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-7cyqWl-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-DMsqH3/psutil/
Add Comment
Please, Sign In to add comment