New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find and install pylance #483
Comments
Are you using an official build of VS Code, or one out of the manjaro repos? To find it, you can also open the extensions tab and search for Pylance. Would potentially be fixed by microsoft/vscode-python#14264 (though it's not perfectly related). This is technically a core extension issue, but I'll leave it here for now. |
I use VS Code from the Manjaro repos and I can't find Pylance when I search for it in the extensions tab (neither "pylance" nor "ms-python.vscode-pylance" works). I'll try with a different build. |
After installing visual-studio-code-bin from the AUR, I can find and install Pylance. |
Weird, it should be searchable regardless. Either way, we can't support running in unofficial builds and installing from the AUR worked, so I'll close this. |
I use the Arch Linux When I then look into the Extension Host Logs, I find
@jakebailey: Is this expected behavior for the plugin? It looks like the plugin "thinks" that it is not ran in the "proper" VS Code. |
In the case that it's useful, here is the rest of the logs:
|
Pylance is not licensed for use in unofficial builds; that message is expected when using |
Could you please mention that on the marketplace site? That might save some people a headache. |
Sure, we can add it to the readme or add a troubleshooting section that lists this. |
Hey @jakebailey, it looks like this thread has garnered a lot of attention on Reddit today, and I think a lot of people including myself are wondering what the rationale was for only licensing Pylance for official builds. I believe your team is well within their rights to do this, I am just a bit curious is all. Are you able to shed some light on this? Thanks and have a wonderful day :) |
Ping @jakebailey |
@judej Embrace, extend, and extinguish |
Far from the first time any of this happens. Let it be a reminder that Vscode is not how free software is done. I have already switched to something else since I take open source seriously, as should anyone that cares about open source. While I can understand some extensions being released in binary for only, restricting them to the binary build of vscode is entirely unnecessary. Please don't take this the wrong way. |
Just stumbled across this, because I use an unofficial VSCode build that enables native Wayland support (Microsoft doesn't offer this yet, so I pretty much have to use this...) |
@jakebailey If you don't want to provide official support for unofficial builds, that's totally understandable. But there's a difference between merely not guaranteeing compatibility, and actively taking steps to prevent compatibility. Why can't you let us at least try it in unofficial builds, in case it does still work? |
No answers until now. |
"not licensed" doesnt mean "not supported". they're not going to remove the message unless they decide to open source in the future |
Wow, that is really frustrating for me as archlinux user. |
I'm using Manjaro and have VSCode installed from the 'Official Repositories'. In order to have the Python extension correctly running with Pylance, you just need to install previously from AUR code-features and code-marketplace. |
Hey, I also stumbled across this issue as a manjaro user using code OSS. None of the other workarounds did not do the trick for me but installing pylance via cmd-line ( EDIT: Beforehand i updated |
When switching language server to Pylance, I see a popup stating that Pylance is not installed and that I should click yes to get to the Pylance page. However, the page does not open after clicking yes. I can also not find Pylance when searching for it in the extensions pane.
Environment data
Version: 1.49.1
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-23T22:26:38.399Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.67-1-MANJARO
Expected behaviour
The Pylance page opens and I can install it.
Actual behaviour
The Pylance page does not open.
Logs
From developer tools:
Error: No matching bindings found for serviceIdentifier: Symbol(ILanguageServerActivator)
Symbol(ILanguageServerActivator) - named: Jedi
The text was updated successfully, but these errors were encountered: