Title: "Unresolved import" for some files in sub-directories in a workspace · Issue #1223 · microsoft/python-language-server · GitHub
Open Graph Title: "Unresolved import" for some files in sub-directories in a workspace · Issue #1223 · microsoft/python-language-server
X Title: "Unresolved import" for some files in sub-directories in a workspace · Issue #1223 · microsoft/python-language-server
Description: Opening a new issue as recommended from #1099 (comment) Some Python packages are not able to be read by the Python Language Server. They report "unresolved import", despite the fact that Python is able to read them just fine. The reposit...
Open Graph Description: Opening a new issue as recommended from #1099 (comment) Some Python packages are not able to be read by the Python Language Server. They report "unresolved import", despite the fact that Python is ...
X Description: Opening a new issue as recommended from #1099 (comment) Some Python packages are not able to be read by the Python Language Server. They report "unresolved import", despite the fact that ...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1223
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Unresolved import\" for some files in sub-directories in a workspace","articleBody":"Opening a new issue as recommended from https://github.com/microsoft/python-language-server/issues/1099#issuecomment-503638516\r\n\r\nSome Python packages are not able to be read by the Python Language Server. They report \"unresolved import\", despite the fact that Python is able to read them just fine.\r\n\r\nThe repository in question is https://github.com/xobs/teardown2019-workshop. It contains submodules, which either get added to a .env file (via `python3 lxbuildenv.py > .env`) or by manually adding them to the `python.autoComplete.extraPaths` setting.\r\n\r\n`python3` is able to see `litex_boards.partner.platforms.fomu_evt`, however the Python Language Server cannot.\r\n\r\nThis is running in python.org python3.exe version 3.7.3. There is no virtualenv, venv, conda, pip modules, or anything like that.\r\n\r\nThe language server version is `Microsoft Python Language Server version 0.2.96.0`\r\n\r\nThe line that is giving the error is https://github.com/xobs/teardown2019-workshop/blob/master/workshop.py#L28\r\n\r\nAn example of the \"extraPaths\" setting that didn't work is at https://github.com/xobs/teardown2019-workshop/blob/master/workshop.py#L10","author":{"url":"https://github.com/xobs","@type":"Person","name":"xobs"},"datePublished":"2019-06-19T16:57:57Z","url":"https://github.com/microsoft/python-language-server/issues/1223"}
| 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:820ac77e-0d72-8a48-2c9f-48a629596028 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9EC:2D7C1E:7B3EFA:A6E29A:6AFE6BF5 |
| html-safe-nonce | 764fdd9252faa1a0e524853467adf5733d363283629e066c3e6bf202d8042117 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUVDOjJEN0MxRTo3QjNFRkE6QTZFMjlBOjZBRkU2QkY1IiwidmlzaXRvcl9pZCI6IjYxMjk3NTc3NjMwNzAyMjUzOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5b7a62b171efa286662f7e9cc1a23235820ca3758617d845dbf164e2fde2acca |
| hovercard-subject-tag | issue:458122430 |
| 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/python-language-server/1223/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b21b569e886053ed0b2b703a07ae28a37657d437205f1dcbd3dd9925150ff07c/microsoft/python-language-server/issues/1223 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b21b569e886053ed0b2b703a07ae28a37657d437205f1dcbd3dd9925150ff07c/microsoft/python-language-server/issues/1223 |
| og:image:alt | Opening a new issue as recommended from #1099 (comment) Some Python packages are not able to be read by the Python Language Server. They report "unresolved import", despite the fact that Python is ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xobs |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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