horus@Lenovo-Yoga-2-11 ~ $ sudo -H pip3 install --upgrade indiweb Collecting indiweb Using cached https://files.pythonhosted.org/packages/02/3f/d06b7949abb8f02225ded6676c8de5c733cfecad432d724128f7ca5469df/indiweb-0.1.5.tar.gz Collecting requests (from indiweb) Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB) 100% |████████████████████████████████| 92kB 202kB/s Collecting psutil (from indiweb) Downloading https://files.pythonhosted.org/packages/51/9e/0f8f5423ce28c9109807024f7bdde776ed0b1161de20b408875de7e030c3/psutil-5.4.6.tar.gz (418kB) 100% |████████████████████████████████| 419kB 413kB/s Collecting bottle (from indiweb) Downloading https://files.pythonhosted.org/packages/bd/99/04dc59ced52a8261ee0f965a8968717a255ea84a36013e527944dbf3468c/bottle-0.12.13.tar.gz (70kB) 100% |████████████████████████████████| 71kB 300kB/s Collecting chardet<3.1.0,>=3.0.2 (from requests->indiweb) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) 100% |████████████████████████████████| 143kB 466kB/s Collecting idna<2.8,>=2.5 (from requests->indiweb) Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB) 100% |████████████████████████████████| 61kB 445kB/s Collecting urllib3<1.24,>=1.21.1 (from requests->indiweb) Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB) 100% |████████████████████████████████| 143kB 435kB/s Collecting certifi>=2017.4.17 (from requests->indiweb) Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB) 100% |████████████████████████████████| 153kB 293kB/s Building wheels for collected packages: indiweb, psutil, bottle Running setup.py bdist_wheel for indiweb ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jncs2lg2/indiweb/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpmsmaqn_ppip-wheel- --python-tag cp35: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for indiweb Running setup.py clean for indiweb Running setup.py bdist_wheel for psutil ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jncs2lg2/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpqqc11ckqpip-wheel- --python-tag cp35: /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for psutil Running setup.py clean for psutil Running setup.py bdist_wheel for bottle ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jncs2lg2/bottle/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpobsec7u5pip-wheel- --python-tag cp35: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for bottle Running setup.py clean for bottle Failed to build indiweb psutil bottle Installing collected packages: chardet, idna, urllib3, certifi, requests, psutil, bottle, indiweb Found existing installation: chardet 2.3.0 Not uninstalling chardet at /usr/lib/python3/dist-packages, outside environment /usr Found existing installation: idna 2.0 Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr Found existing installation: urllib3 1.13.1 Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr Found existing installation: requests 2.9.1 Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr Found existing installation: psutil 3.4.2 Not uninstalling psutil at /usr/lib/python3/dist-packages, outside environment /usr Running setup.py install for psutil ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jncs2lg2/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pzzgob18-record/install-record.txt --single-version-externally-managed --compile: /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running install running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/__init__.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_exceptions.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.5/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.5/psutil creating build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.5/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.5/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/psutil x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=546 -DPSUTIL_LINUX=1 -I/usr/include/python3.5m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.5/psutil/_psutil_common.o psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Can't rollback psutil, nothing uninstalled. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jncs2lg2/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pzzgob18-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-jncs2lg2/psutil/ You are using pip version 8.1.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. horus@Lenovo-Yoga-2-11 ~ $