Python 2.7 environment not shown in status bar
See original GitHub issueIssue Type: Bug
Behaviour
Expected vs. Actual
Expected: Python 2.7 environment selected as interpreter should be shown in the status bar. Actual: Python environment is not shown in Status bar.
This is not a duplicate of https://github.com/microsoft/vscode-python/issues/18588
Steps to reproduce:
- Select Python 3.x interpreter --> environment shown:
- select Python 2.7 interpreter --> environment not shown
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.4
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
- Value of the
python.languageServer
setting: Default
User Settings
defaultLS: {"defaultLSType":"Pylance"}
downloadLanguageServer: true
envFile: "<placeholder>"
venvPath: "<placeholder>"
venvFolders: "<placeholder>"
condaPath: "<placeholder>"
pipenvPath: "<placeholder>"
poetryPath: "<placeholder>"
languageServer: "Pylance"
linting
• enabled: true
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: true
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: false
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"
sortImports
• args: "<placeholder>"
• path: "<placeholder>"
formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "autopep8"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"
testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: true
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true
terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"
experiments
• enabled: true
• optInto: []
• optOutFrom: []
insidersChannel: "off"
tensorBoard
• logDirectory: "<placeholder>"
Extension version: 2022.0.1814523869 VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9850H CPU @ 2.60GHz (12 x 2592) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 31.81GB (21.04GB free) |
Process Argv | –file-uri file:///d%3A/<placeholder>.code-workspace --crash-reporter-id bcdeaf73-3611-48c1-88c5-d1a1db6c090b |
Screen Reader | no |
VM | 60% |
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Python Interpreter Version not showing in status bar of VS ...
First, make sure that your load status is checked in vscode. from View> Appearance> Status Bar ...
Read more >Frequently Asked Questions — Spyder 5 documentation
Navigator showing running Spyder in a specific environment. Q: How do I run Spyder installed in a conda environment using the command line?...
Read more >Configure a Python interpreter | PyCharm Documentation
The Python Interpreter selector is located on the status bar. ... Expand the list of the available interpreters and click the Show All...
Read more >Using Python environments in VS Code
Configuring Python Environments in Visual Studio Code. ... Bar showing a selected interpreter. The Status Bar also reflects when no interpreter is selected....
Read more >"Select Python interpreter" doesn't show up in status bar - Reddit
20 votes, 27 comments. Hi guys, I'm running the latest version of VS Code on KDE Manjaro. As you can see from the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@schlamar Can you set python logging level to debug, and share the logs from Output > Python tab.
@shehrozeee You might be in an experiment see her #18283
This is likely due to cached info. You should be able to run the above command and clear it out.