Title: unresolved import 'json' · Issue #557 · microsoft/python-language-server · GitHub
Open Graph Title: unresolved import 'json' · Issue #557 · microsoft/python-language-server
X Title: unresolved import 'json' · Issue #557 · microsoft/python-language-server
Description: Hi, I use mspls in sublime-text-3, and config like blew: "mspyls": { "command": [ "dotnet", "exec", "~/dotfiles/python-language-server/output/bin/Release/Microsoft.Python.LanguageServer.dll" ], "enabled": true, "initializationOptions": {...
Open Graph Description: Hi, I use mspls in sublime-text-3, and config like blew: "mspyls": { "command": [ "dotnet", "exec", "~/dotfiles/python-language-server/output/bin/Release/Microsoft.Python.LanguageServer.dll" ], "en...
X Description: Hi, I use mspls in sublime-text-3, and config like blew: "mspyls": { "command": [ "dotnet", "exec", "~/dotfiles/python-language-server/output/bin/Releas...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/557
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unresolved import 'json'","articleBody":"Hi,\r\n\r\nI use mspls in sublime-text-3, and config like blew:\r\n```\r\n\t\t\"mspyls\":\r\n\t\t{\r\n\t\t\t\"command\":\r\n\t\t\t[\r\n\t\t\t\t\"dotnet\",\r\n\t\t\t\t\"exec\",\r\n\t\t\t\t\"~/dotfiles/python-language-server/output/bin/Release/Microsoft.Python.LanguageServer.dll\"\r\n\t\t\t],\r\n\t\t\t\"enabled\": true,\r\n\t\t\t\"initializationOptions\":\r\n\t\t\t{\r\n\t\t\t\t\"interpreter\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"properties\":\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"InterpreterPath\": \"~/.pyenv/shims/python\",\r\n\t\t\t\t\t\t\"UseDefaultDatabase\": true,\r\n\t\t\t\t\t\t\"Version\": \"3.7\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"languageId\": \"python\",\r\n\t\t\t\"scopes\":\r\n\t\t\t[\r\n\t\t\t\t\"source.python\"\r\n\t\t\t],\r\n\t\t\t\"syntaxes\":\r\n\t\t\t[\r\n\t\t\t\t\"Packages/Python/Python.sublime-syntax\"\r\n\t\t\t]\r\n\t\t}\r\n```\r\n\r\nWhen I set `InterpreterPath` to a value contains `~` like `\"~/.pyenv/shims/python\"`, LSP will always complain messages like `unresolved import os`\r\n\r\nIs it becase mslsp does not support `~` path?\r\n\r\nThanks","author":{"url":"https://github.com/hujianxin","@type":"Person","name":"hujianxin"},"datePublished":"2019-01-28T09:25:44Z","url":"https://github.com/microsoft/python-language-server/issues/557"}
| 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:ccdb8298-9cc4-aedb-21c4-f4003eb254c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB6C:340002:4B1112:65DBC4:6AFE59FA |
| html-safe-nonce | 6e96b5e02d087090ffc070a45920b66eaac65316a5a030e523f541efa8ce5a08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjZDOjM0MDAwMjo0QjExMTI6NjVEQkM0OjZBRkU1OUZBIiwidmlzaXRvcl9pZCI6IjM2MjM3ODI4MTk4OTQ4MTExMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbce10429edbcc7c479118c0bc3a8a05900ab2f5a931c45baabb8a8523036d84 |
| hovercard-subject-tag | issue:403718050 |
| 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/557/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42cc5852bd2cb2a388fcff6fa5858c9cbda2c863dd7fb25302ff6e51d5f8c848/microsoft/python-language-server/issues/557 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42cc5852bd2cb2a388fcff6fa5858c9cbda2c863dd7fb25302ff6e51d5f8c848/microsoft/python-language-server/issues/557 |
| og:image:alt | Hi, I use mspls in sublime-text-3, and config like blew: "mspyls": { "command": [ "dotnet", "exec", "~/dotfiles/python-language-server/output/bin/Release/Microsoft.Python.LanguageServer.dll" ], "en... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hujianxin |
| 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