Title: Unresolved import for builtin packages (Python 2.7) · Issue #5881 · microsoft/vscode-python · GitHub
Open Graph Title: Unresolved import for builtin packages (Python 2.7) · Issue #5881 · microsoft/vscode-python
X Title: Unresolved import for builtin packages (Python 2.7) · Issue #5881 · microsoft/vscode-python
Description: Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python version (& distribution if applicable, e.g. Anaconda): 2.7 Type of virtual environment used (N/A...
Open Graph Description: Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python version (& distribution if applicable, e.g. Anaconda): 2...
X Description: Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python version (& distribution if applicable, e.g. Anaconda...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/5881
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unresolved import for builtin packages (Python 2.7)","articleBody":"## Environment data\r\n\r\n- VS Code version: 1.34.0\r\n- Extension version (available under the Extensions sidebar): 2019.5\r\n- OS and version: Windows 7\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: N/A\r\n\r\n## Expected behaviour\r\n\r\nNo errors for builtin packages.\r\n\r\n## Actual behaviour\r\n\r\nImport of builtin packages like `time`, `itertools` and `operator` are sometimes marked as unresolved import.\r\n\r\n## Steps to reproduce:\r\n\r\nDon't know, this happens randomly.\r\n\r\n## Logs\r\n\r\n```\r\nStarting Microsoft Python language server.\r\n##########Linting Output - flake8##########\r\n[Info - 12:19:26] GetCurrentSearchPaths C:\\Python27\\python.exe \r\n[Info - 12:19:26] Python search paths:\r\n[Info - 12:19:26] c:\\python27\\dlls\r\n[Info - 12:19:26] c:\\python27\\lib\r\n[Info - 12:19:26] c:\\python27\\lib\\lib-tk\r\n[Info - 12:19:26] c:\\python27\r\n[Info - 12:19:26] c:\\python27\\lib\\site-packages\r\n[Info - 12:19:26] Configuration search paths:\r\n[Info - 12:19:26] ...\r\n[Info - 12:19:33] Microsoft Python Language Server version 0.2.87.0\r\n[Info - 12:19:33] Initializing for C:\\Python27\\python.exe\r\n``` \r\n\r\n(Right now, I don't have a Console Log in case of this error. I will submit them as soon as this happens again.) \r\n","author":{"url":"https://github.com/schlamar","@type":"Person","name":"schlamar"},"datePublished":"2019-06-03T10:27:59Z","url":"https://github.com/microsoft/vscode-python/issues/5881"}
| 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:aaab1404-6269-809a-64d2-1f695af1844a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 927A:2D9CF4:22202A:2CA3D4:6AFE5964 |
| html-safe-nonce | 1b0cf533d738ce442c301acd3af3c87d2cb82f0ded7cb329e75a8ef691a14bcc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjdBOjJEOUNGNDoyMjIwMkE6MkNBM0Q0OjZBRkU1OTY0IiwidmlzaXRvcl9pZCI6IjQ2NTQzNDMxNzE1NDk4NDU4NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51e79c8bb0f2b2c6187aa8b9c7cb09c65ccae69b2545b836590db70c11c81311 |
| hovercard-subject-tag | issue:451406772 |
| 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/microsoft/vscode-python/5881/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4685897c9fcfdc35b7f0365afee7891de65f1add3ab086cfa4c31b84e14b4ba9/microsoft/vscode-python/issues/5881 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4685897c9fcfdc35b7f0365afee7891de65f1add3ab086cfa4c31b84e14b4ba9/microsoft/vscode-python/issues/5881 |
| og:image:alt | Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python version (& distribution if applicable, e.g. Anaconda): 2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | schlamar |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width