Skip to content
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

Pylance client: couldn't create connection to server #6444

Closed
avalonliberty opened this issue Sep 25, 2024 · 1 comment
Closed

Pylance client: couldn't create connection to server #6444

avalonliberty opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@avalonliberty
Copy link

Environment data

  • Pylance version: v2024.12.3
  • OS and version: Ubuntu 20.04.6 LTS
  • Python version (& distribution if applicable, e.g. Anaconda): 3.9.15

Code Snippet

Expected behavior

The pylance server is able to be connected and provide corresponding coloring and comment on the code

Actual behavior

When I open the VSCode, the " Pylance client: couldn't create connection to server." error message will pop out.
This chuck of message follows with it. Message: Request initialize failed with message: You may install and use any number of copies of the software only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, Azure DevOps, Team Foundation Server, and successor Microsoft products and services (collectively, the “Visual Studio Products and Services”) to develop and test your applications. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. You may not: work around any technical limitations in the software that only allow you to use it in certain ways; reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software, except and to the extent required by third party licensing terms governing use of certain open source components that may be included in the software; remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; use the software in any way that is against the law or to create or propagate malware; or share, publish, distribute, or lease the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone offering for others to use, or transfer the software or this agreement to any third party.

I can't even tell what this means

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Sep 25, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Sep 25, 2024

Are you using VS Codium? Pylance is outputting a message saying it's not licensed to work on anything by VS Code. That's the error you get if you're trying to use Pylance on VS Codium or any other open source version of VS code.

@rchiodo rchiodo closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants