question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve display names of interpreters in the list and status bar

See original GitHub issue

The prefix 'packaged by conda-forge` should not be added to some of the interpreters. As this belongs to the root interpreters

@brettcannon @qubitron We’ll need to go come up with a set of rules for the display names of:

  • Conda, virtual, venv, and other environments.
  • Create new api to retrieve interpreter details with the ability to cache it #1569 screen shot 2018-04-09 at 11 31 56 am

win

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
brettcannoncommented, Aug 3, 2018

If we can’t tell the difference between miniconda and Anaconda installs then I say go with the latter for consistency.

1reaction
DonJayamannecommented, Sep 7, 2018

@qubitron Ref https://github.com/Microsoft/vscode-python/issues/1362 You’ve suggested we display the name of the virtual environment instead of venv. The format we agreed on is:

Python 2.7.14 32-bit (base: conda)
Python 2.7.14 32-bit (env-01: conda)
Python 3.5.1 64-bit (env-02: conda)
Python 2.7.14 32-bit (v01: pipenv)
Python 3.5.1 32-bit (v02: pipenv)
Python 3.5.1 32-bit (v03: pipenv)
Python 3.5.1 32-bit (v03: pyenv)
Python 3.6.1 32-bit (v03: venv)
Python 3.5.1 32-bit (myenv2: virtualenv)

Looking at Python 3.6.1 32-bit (v03: venv), v03 is the folder name. So I believe this addresses issue #1362

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improvements to clearing of cached interpreter name #3033
Currently the display names of interpreters are cached for a period of 1day. This is done to avoid unnecessarily spawning Python processes ...
Read more >
Python Interpreter Version not showing in status bar of VS ...
My python interpreter version does not show up at the bottom of the status bar on VS code on my Mac, it used...
Read more >
Configure a Python interpreter | PyCharm Documentation
Press Ctrl+Alt+S to open the IDE settings and select Project <project name> | Python Interpreter. Expand the list of the available interpreters ......
Read more >
Using Python environments in VS Code
The Python: Select Interpreter command displays a list of available global ... In either case, clicking this area of the Status Bar is...
Read more >
Manage Python environments and interpreters - Visual Studio ...
Install Python interpreters and packages and assign environments to ... select an environment in the list, Visual Studio displays various ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found