Can't install with pip
Closed this issue · 3 comments
DopeforHope commented
After creating a virtualenv and trying to install the package with:
Collecting git+https://github.com/domenukk/enochecker
Cloning https://github.com/domenukk/enochecker to /tmp/pip-req-build-ma2zsoed
Running command git clone -q https://github.com/domenukk/enochecker /tmp/pip-req-build-ma2zsoed
Requirement already satisfied: aenum==2.1.2 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (2.1.2)
Requirement already satisfied: atomicwrites==1.3.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.3.0)
Requirement already satisfied: attrs==19.1.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (19.1.0)
Requirement already satisfied: blinker==1.4 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.4)
Requirement already satisfied: certifi==2019.3.9 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (2019.3.9)
Requirement already satisfied: chardet==3.0.4 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (3.0.4)
Requirement already satisfied: Click==7.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (7.0)
Requirement already satisfied: colorama==0.4.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (0.4.1)
Requirement already satisfied: elastic-apm==4.2.2 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (4.2.2)
Requirement already satisfied: Flask==1.0.2 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.0.2)
Requirement already satisfied: future==0.17.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (0.17.1)
Requirement already satisfied: futures==3.1.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (3.1.1)
Requirement already satisfied: idna==2.8 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (2.8)
Requirement already satisfied: itsdangerous==1.1.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.1.0)
Requirement already satisfied: Jinja2==2.10.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (2.10.1)
Requirement already satisfied: MarkupSafe==1.1.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.1.1)
Requirement already satisfied: more-itertools==7.0.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (7.0.0)
Requirement already satisfied: pathlib2==2.3.3 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (2.3.3)
Requirement already satisfied: pluggy==0.9.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (0.9.0)
Collecting psutil==5.6.1 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/2f/b8/11ec5006d2ec2998cb68349b8d1317c24c284cf918ecd6729739388e4c56/psutil-5.6.1.tar.gz
Collecting py==1.8.0 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl
Collecting pytest==4.4.0 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/7e/16/83b2a35c427b838df9836c9e7e4ae6dfbcbdea643db44652f693b1c57d70/pytest-4.4.0-py2.py3-none-any.whl
Collecting requests==2.21.0 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Requirement already satisfied: six==1.12.0 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.12.0)
Collecting typing==3.6.6 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/4a/bd/eee1157fc2d8514970b345d69cb9975dcd1e42cd7e61146ed841f6e68309/typing-3.6.6-py3-none-any.whl
Requirement already satisfied: urllib3==1.25.1 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (1.25.1)
Collecting websocket-client==0.56.0 (from enochecker==0.0.1)
Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl
Requirement already satisfied: Werkzeug==0.15.2 in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from enochecker==0.0.1) (0.15.2)
Requirement already satisfied: setuptools in /home/david/virtualEnv/checker/lib/python3.5/site-packages (from pytest==4.4.0->enochecker==0.0.1) (41.0.1)
Building wheels for collected packages: enochecker, psutil
Building wheel for enochecker (setup.py): started
Building wheel for enochecker (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-3efft5l9/wheels/2e/a8/3a/0553b684afe122bb8055a53b052b06461ed1543df536bfc8bd
Building wheel for psutil (setup.py): started
Building wheel for psutil (setup.py): finished with status 'error'
ERROR: Complete output from command /home/david/virtualEnv/checker/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-jdrsgqbc/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/pip-wheel-1z6ql8ie --python-tag cp35:
ERROR: running bdist_wheel
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/_psposix.py -> 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/_psosx.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/_psbsd.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/_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_process.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_system.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
copying psutil/tests/test_linux.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_memory_leaks.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_windows.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_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_connections.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_unicode.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=561 -DPSUTIL_LINUX=1 -I/usr/include/python3.5m -I/home/david/virtualEnv/checker/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
----------------------------------------
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Successfully built enochecker
Failed to build psutil
ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.1 which is incompatible.
Installing collected packages: psutil, py, pytest, requests, typing, websocket-client, enochecker
Running setup.py install for psutil: started
Running setup.py install for psutil: finished with status 'error'
ERROR: Complete output from command /home/david/virtualEnv/checker/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-jdrsgqbc/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-record-ucr0s0ui/install-record.txt --single-version-externally-managed --compile --install-headers /home/david/virtualEnv/checker/include/site/python3.5/psutil:
ERROR: 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/_psposix.py -> 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/_psosx.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/_psbsd.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/_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_process.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_system.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
copying psutil/tests/test_linux.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_memory_leaks.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_windows.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_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_connections.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_unicode.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=561 -DPSUTIL_LINUX=1 -I/usr/include/python3.5m -I/home/david/virtualEnv/checker/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
----------------------------------------
ERROR: Command "/home/david/virtualEnv/checker/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-jdrsgqbc/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-record-ucr0s0ui/install-record.txt --single-version-externally-managed --compile --install-headers /home/david/virtualEnv/checker/include/site/python3.5/psutil" failed with error code 1 in /tmp/pip-install-jdrsgqbc/psutil/
I guess the important line is the following.
ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.1 which is incompatible.
Trolldemorted commented
Yeah, if you throw the urllib3 requirement out of the requirements.txt it should work (?), you just have to install checkerlib manually until @domenukk pushes a fix.
CI all around the world broke because of this, dependencies are evil :)
DopeforHope commented
I also had trouble with building on Ubuntu 16.04.
apt-get install python3.5-dev
domenukk commented
@DopeforHope so it works now?