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

Regression in handling of python.pythonPath config setting #759

Closed
breathe opened this issue Feb 12, 2018 · 1 comment
Closed

Regression in handling of python.pythonPath config setting #759

breathe opened this issue Feb 12, 2018 · 1 comment
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug

Comments

@breathe
Copy link

breathe commented Feb 12, 2018

Environment data

VS Code version: Version 1.20.0 (1.20.0)
Python Extension version: latest (2018.1)
Python Version: Python 3.6.3 | packaged by conda-forge
OS and version: macOS Sierra 10.12.6

Actual behavior

When commented out pythonPath (with environment variable in declaration) is used:

  // "python.pythonPath": "${env:HOME}/anaconda3/envs/ai_services/bin/python",
  "python.pythonPath": "/Users/bcohen/anaconda3/envs/ai_services/bin/python",

Starting debugging fails with:

Failed to launch the Python Process, please validate the path '${env:HOME}/anaconda3/envs/ai_services/bin/python'

The version without the environment variable resolution works as expected

Expected behavior

First version would work as well

Steps to reproduce:

  • use an environment variable in python.pythonPath setting
@DonJayamanne
Copy link

Duplicate of #691
Upstream issue microsoft/vscode#43303

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug closed-duplicate area-debugging labels Feb 12, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants