Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Finished installing PostgreSQL.
- Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install disable postgresql
- Collecting patroni
- Using cached https://files.pythonhosted.org/packages/d9/71/f1465e00f5e2d3e4c00c4ef8d80c02e3c31ac76dcf6a9d3b0cdef3b62305/patroni-1.6.5.tar.gz
- Requirement already satisfied: urllib3!=1.21,>=1.19.1 in /usr/local/lib/python2.7/dist-packages (from patroni)
- Collecting PyYAML (from patroni)
- Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
- 100% |████████████████████████████████| 276kB 1.7MB/s
- Requirement already satisfied: six>=1.7 in /usr/local/lib/python2.7/dist-packages (from patroni)
- Collecting click>=4.1 (from patroni)
- Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
- 100% |████████████████████████████████| 92kB 2.9MB/s
- Collecting prettytable>=0.7 (from patroni)
- Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2
- Collecting python-dateutil (from patroni)
- Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
- 100% |████████████████████████████████| 235kB 1.9MB/s
- Collecting psutil>=2.0.0 (from patroni)
- Downloading https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-5.7.2.tar.gz (460kB)
- 100% |████████████████████████████████| 460kB 1.3MB/s
- Collecting cdiff (from patroni)
- Downloading https://files.pythonhosted.org/packages/69/6c/301876940e760a8b46c1caacf08c298f511f517c70eec32e43f38e9cc6f5/cdiff-1.0.tar.gz
- Building wheels for collected packages: patroni, PyYAML, prettytable, psutil, cdiff
- Running setup.py bdist_wheel for patroni ... done
- Stored in directory: /root/.cache/pip/wheels/f4/a9/ed/e90508b3177e5568707d9d0ba7b0312fd76e59ed0eb27a1c92
- Running setup.py bdist_wheel for PyYAML ... done
- Stored in directory: /root/.cache/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd
- Running setup.py bdist_wheel for prettytable ... done
- Stored in directory: /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606
- Running setup.py bdist_wheel for psutil ... error
- 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:
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-2.7
- creating build/lib.linux-x86_64-2.7/psutil
- copying psutil/_compat.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pslinux.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/__init__.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pssunos.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psaix.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psosx.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psposix.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pswindows.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psbsd.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_common.py -> build/lib.linux-x86_64-2.7/psutil
- creating build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/runner.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/__init__.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/__main__.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_process.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_system.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-2.7/psutil/tests
- running build_ext
- building 'psutil._psutil_linux' extension
- creating build/temp.linux-x86_64-2.7
- creating build/temp.linux-x86_64-2.7/psutil
- 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
- psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
- #include <Python.h>
- ^~~~~~~~~~
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Failed building wheel for psutil
- Running setup.py clean for psutil
- Running setup.py bdist_wheel for cdiff ... done
- Stored in directory: /root/.cache/pip/wheels/00/c2/72/b80fe3a07b8454cdaed971b59c7e5388da030c0c7350e22a52
- Successfully built patroni PyYAML prettytable cdiff
- Failed to build psutil
- Installing collected packages: PyYAML, click, prettytable, python-dateutil, psutil, cdiff, patroni
- Running setup.py install for psutil ... error
- 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:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-2.7
- creating build/lib.linux-x86_64-2.7/psutil
- copying psutil/_compat.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pslinux.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/__init__.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pssunos.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psaix.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psosx.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psposix.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_pswindows.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_psbsd.py -> build/lib.linux-x86_64-2.7/psutil
- copying psutil/_common.py -> build/lib.linux-x86_64-2.7/psutil
- creating build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/runner.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/__init__.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/__main__.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_process.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_system.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-2.7/psutil/tests
- copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-2.7/psutil/tests
- running build_ext
- building 'psutil._psutil_linux' extension
- creating build/temp.linux-x86_64-2.7
- creating build/temp.linux-x86_64-2.7/psutil
- 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
- psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
- #include <Python.h>
- ^~~~~~~~~~
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- 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