Skip to content

Meta issue for the Python language server #2177

@brettcannon

Description

@brettcannon

Installation/activation

To activate it, open your settings and add the following:

"python.jediEnabled": false

You will then get prompted to restart VS Code:

restart

Upon restarting and opening a Python file (to trigger the Python extension), the language server will begin downloading:

download

It will then be extracted:

extract

Once downloaded, it may begin analyzing your environment (dependent on what files you have opened, what those files import, etc.).

FAQ

Why am I not seeing completions?

First, make sure you have set your pythonPath as described here:
https://code.visualstudio.com/docs/python/editing#_troubleshooting

Otherwise, you may need to wait for workspace analysis to progress further. IntelliSense results will start showing up as you type, not all results will be immediately available.

You can enabling tracing to see the current analysis status (the modules being analyzed) by adding the following setting to your settings.json (File -> Preferences -> Settings -> {} button in upper right corner):

"python.analysis.loglevel": "trace"

Should the analysis of my workspace take a long time?

No. We have received reports that at least for some Anaconda users on Windows 10 the initial analysis step after download seems to never complete. Restarting VS Code should fix the problem.

What is the download size of the language server?

It depends on your OS, but it's about 30 MB regardless.

How do I download a newer version of the language server?

  1. Quit VS Code
  2. Go into the folder for the extension (the folder name will start with ms-python.python)
  3. Delete the languageServer directory
  4. Start VS Code and open a Python file to load the Python extension
  5. The download of the language should be triggered

I think I found an issue, how do I report it?

First, check that the issue has not already been reported. If it has been reported, then please leave a 👍 on the issue so we know how widespread the problem is (please don't leave a comment as that bothers the person who reported the initial bug).

If the issue hasn't previously been reported then please report a new issue, making sure to specify when you downloaded the language server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssue that is tracking an overall project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions