Title: mypy requires psutil which in turn requires gcc to compile · Issue #4593 · python/mypy · GitHub
Open Graph Title: mypy requires psutil which in turn requires gcc to compile · Issue #4593 · python/mypy
X Title: mypy requires psutil which in turn requires gcc to compile · Issue #4593 · python/mypy
Description: Please provide more information to help us understand the issue: Are you reporting a bug, or opening a feature request? bug What is the actual behavior/output? Install failed Very simple docker image https://github.com/hvnsweeting/docker...
Open Graph Description: Please provide more information to help us understand the issue: Are you reporting a bug, or opening a feature request? bug What is the actual behavior/output? Install failed Very simple docker ima...
X Description: Please provide more information to help us understand the issue: Are you reporting a bug, or opening a feature request? bug What is the actual behavior/output? Install failed Very simple docker ima...
Opengraph URL: https://github.com/python/mypy/issues/4593
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy requires psutil which in turn requires gcc to compile","articleBody":"Please provide more information to help us understand the issue:\r\n\r\n* Are you reporting a bug, or opening a feature request?\r\nbug\r\n\r\n* What is the actual behavior/output?\r\nInstall failed\r\n\r\nVery simple docker image https://github.com/hvnsweeting/docker_pip3/blob/master/Dockerfile#L5 \r\n```sh\r\n $ docker run -it hvnsweeting/docker_pip3 /bin/bash\r\nroot@c1ba2dc54324:/# pip install mypy\r\nCollecting mypy\r\n Downloading mypy-0.560-py3-none-any.whl (1.2MB)\r\n 100% |████████████████████████████████| 1.2MB 881kB/s\r\nCollecting typed-ast\u003c1.2.0,>=1.1.0 (from mypy)\r\n Downloading typed_ast-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (724kB)\r\n 100% |████████████████████████████████| 727kB 1.4MB/s\r\nCollecting psutil\u003c5.5.0,>=5.4.0 (from mypy)\r\n Downloading psutil-5.4.3.tar.gz (412kB)\r\n 100% |████████████████████████████████| 419kB 1.9MB/s\r\nBuilding wheels for collected packages: psutil\r\n Running setup.py bdist_wheel for psutil ... error\r\n Complete output from command /usr/local/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-_unz8lzn/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/tmpbp1m20afpip-wheel- --python-tag cp36:\r\n running bdist_wheel\r\n running build\r\n running build_py\r\n creating build\r\n creating build/lib.linux-x86_64-3.6\r\n creating build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/__init__.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_exceptions.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil\r\n creating build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n running build_ext\r\n building 'psutil._psutil_linux' extension\r\n creating build/temp.linux-x86_64-3.6\r\n creating build/temp.linux-x86_64-3.6/psutil\r\n gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/local/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o\r\n unable to execute 'gcc': No such file or directory\r\n error: command 'gcc' failed with exit status 1\r\n\r\n ----------------------------------------\r\n Failed building wheel for psutil\r\n Running setup.py clean for psutil\r\nFailed to build psutil\r\nInstalling collected packages: typed-ast, psutil, mypy\r\n Running setup.py install for psutil ... error\r\n Complete output from command /usr/local/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-_unz8lzn/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-7q8dvneb-record/install-record.txt --single-version-externally-managed --compile:\r\n running install\r\n running build\r\n running build_py\r\n creating build\r\n creating build/lib.linux-x86_64-3.6\r\n creating build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/__init__.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_exceptions.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil\r\n copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil\r\n creating build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests\r\n running build_ext\r\n building 'psutil._psutil_linux' extension\r\n creating build/temp.linux-x86_64-3.6\r\n creating build/temp.linux-x86_64-3.6/psutil\r\n gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/local/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o\r\n unable to execute 'gcc': No such file or directory\r\n error: command 'gcc' failed with exit status 1\r\n\r\n ----------------------------------------\r\nCommand \"/usr/local/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-_unz8lzn/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-7q8dvneb-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-_unz8lzn/psutil/\r\n```\r\n\r\n\r\n* What is the behavior/output you expect?\r\nInstall successfully - according to doc in README.md\r\n\r\nI know how to fix this. But is that expected thing would happen or should mypy specify version of psutil which has wheel? If it needs gcc to compile, maybe we should update install guide to help beginner.\r\n","author":{"url":"https://github.com/hvnsweeting","@type":"Person","name":"hvnsweeting"},"datePublished":"2018-02-20T02:30:11Z","url":"https://github.com/python/mypy/issues/4593"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7136540e-e5c7-5c51-76ee-24f8906062b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD9C:14B836:C06AF6:1010848:6B004DCD |
| html-safe-nonce | 5a9fe6091e551b124b478ab7249e25de23afc16968b8feff144666b9eb673730 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlDOjE0QjgzNjpDMDZBRjY6MTAxMDg0ODo2QjAwNERDRCIsInZpc2l0b3JfaWQiOiIyMDg1NDUxNzAzNDI3MDI2MzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aa4e53e9158d93c869d9c099360e77db4dea482d3784aa2d259445261b60c7b0 |
| hovercard-subject-tag | issue:298453954 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/4593/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7575cc7919c3bdcd0120e2a54a72833192ae35cb3e5f921b2cf049ef3714ae7a/python/mypy/issues/4593 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7575cc7919c3bdcd0120e2a54a72833192ae35cb3e5f921b2cf049ef3714ae7a/python/mypy/issues/4593 |
| og:image:alt | Please provide more information to help us understand the issue: Are you reporting a bug, or opening a feature request? bug What is the actual behavior/output? Install failed Very simple docker ima... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hvnsweeting |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width