Title: No such file or directory for C module · Issue #5784 · python/mypy · GitHub
Open Graph Title: No such file or directory for C module · Issue #5784 · python/mypy
X Title: No such file or directory for C module · Issue #5784 · python/mypy
Description: Starting with the following using mypy version 0.640: $ python3 -m venv .venv $ .venv/bin/pip install -U aiohttp mypy $ echo "import aiohttp" > test.py Running .venv/bin/mypy test.py leads to an error: mypy: can't read file '/Users/bryan...
Open Graph Description: Starting with the following using mypy version 0.640: $ python3 -m venv .venv $ .venv/bin/pip install -U aiohttp mypy $ echo "import aiohttp" > test.py Running .venv/bin/mypy test.py leads to an er...
X Description: Starting with the following using mypy version 0.640: $ python3 -m venv .venv $ .venv/bin/pip install -U aiohttp mypy $ echo "import aiohttp" > test.py Running .venv/bin/mypy test.py l...
Opengraph URL: https://github.com/python/mypy/issues/5784
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No such file or directory for C module","articleBody":"Starting with the following using `mypy` version `0.640`:\r\n\r\n```\r\n$ python3 -m venv .venv\r\n$ .venv/bin/pip install -U aiohttp mypy\r\n$ echo \"import aiohttp\" > test.py\r\n```\r\n\r\nRunning `.venv/bin/mypy test.py` leads to an error:\r\n\r\n```\r\nmypy: can't read file '/Users/bryan/Projects/mypy-repro/.venv/lib/python3.7/site-packages/aiohttp/_websocket': No such file or directory\r\n```\r\n\r\nThis module is a C module that is imported like this:\r\n\r\n```python\r\nif NO_EXTENSIONS:\r\n _websocket_mask = _websocket_mask_python\r\nelse:\r\n try:\r\n from ._websocket import _websocket_mask_cython # type: ignore\r\n _websocket_mask = _websocket_mask_cython\r\n except ImportError: # pragma: no cover\r\n _websocket_mask = _websocket_mask_python\r\n```","author":{"url":"https://github.com/bryanforbes","@type":"Person","name":"bryanforbes"},"datePublished":"2018-10-12T22:15:47Z","url":"https://github.com/python/mypy/issues/5784"}
| 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:7f007d9d-f278-1d3b-e984-4fc0efa0745f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86C4:2A4B31:DA6270:126AE68:6B00580D |
| html-safe-nonce | 867bbb2b6e8ce48a90fc27e83d22d14b03310323da45bb16f7476be81c2f8224 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkM0OjJBNEIzMTpEQTYyNzA6MTI2QUU2ODo2QjAwNTgwRCIsInZpc2l0b3JfaWQiOiI1MjExMjc3NDEzMzg3ODg0NTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4d5e694649f771e4d7c3b82fe3d3ccc26334be68e48f940914c3adcfec4df891 |
| hovercard-subject-tag | issue:369727853 |
| 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/5784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13b4f6fef9f4b2634ce5fb1e472f35a85bdb9cfcd6b67e5941faa881e67b6e7c/python/mypy/issues/5784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13b4f6fef9f4b2634ce5fb1e472f35a85bdb9cfcd6b67e5941faa881e67b6e7c/python/mypy/issues/5784 |
| og:image:alt | Starting with the following using mypy version 0.640: $ python3 -m venv .venv $ .venv/bin/pip install -U aiohttp mypy $ echo "import aiohttp" > test.py Running .venv/bin/mypy test.py leads to an er... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bryanforbes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width