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.

Support pyenv-win on Windows

See original GitHub issue

Currently, the Python extension seems to rely on the py launcher installed by the official windows installers.

I’m using pyenv-win to manage different python versions on my Windows machine and I wasn’t able to make VS Code detect it, even though running python on my terminal worked perfectly. I’ve even tried setting explicitly the python.defaultInterpreterPath setting but that didn’t work either.

So, apart from the feature request. Is there a way to use the Python extension without having the py launcher available on C:\Windows

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Mar 15, 2021

@vgibilmanno We have a experimental discovery component that supports this. Add this to your user settings to try it out: image

    "python.experiments.optInto": [
        "pythonDiscoveryModule"
    ], 

And reload VS Code.

0reactions
karthiknadigcommented, Apr 8, 2021

Closing this since the feature itself is now available under the pythondiscoverymodule experiment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pyenv for Windows - GitHub
Install pyenv-win in PowerShell. · Reopen PowerShell · Run pyenv --version to check the installation done · Run pyenv install -l to check...
Read more >
pyenv-win - PyPI
pyenv for python is a great tool but, like rbenv for ruby developers, it doesn't directly support Windows. After a bit of research...
Read more >
Installing Python 3 and Pyenv on MacOS, Windows, and Linux
Installing Python 3 and Pyenv on MacOS, Windows, and Linux · Check for already installed python versions · Install Pyenv · Use pyenv...
Read more >
pyenv-win & virtualenv – Windows - RKadeZone
Update the list of discoverable Python versions · To view a list of python versions supported by pyenv windows · To install a...
Read more >
Pyenv in Windows - DEV Community ‍ ‍
Installing and use a Python version to Pyenv ... Installing this will output the progress in the CLI and open up an installer...
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