Skip to content

"python" in activated virtualenv is not used. #4861

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

Closed
ericsnowcurrently opened this issue Mar 20, 2019 · 1 comment
Closed

"python" in activated virtualenv is not used. #4861

ericsnowcurrently opened this issue Mar 20, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@ericsnowcurrently
Copy link

In my workspace folder I created a virtualenv with Python 3.7 in a new .env directory. In VSC I switched to that interpreter and it shows the proper version in the status bar. When I run "Python: Create Terminal" (with no terminals open already), it creates a new terminal and runs (sources) what appears to be the correct activation script. However, if I run python -v it shows me "2.7.15", which is the system Python 2 binary. If I run the virtualenv's python by using the full path into the virtualenv's bin directory, it works as expected.

@ericsnowcurrently ericsnowcurrently added bug Issue identified by VS Code Team member as probable bug needs PR labels Mar 20, 2019
@DonJayamanne DonJayamanne self-assigned this Mar 20, 2019
@DonJayamanne
Copy link

DonJayamanne commented Apr 4, 2019

Duplicate of #4434 being tracked in #4568

@DonJayamanne DonJayamanne marked this as a duplicate of #4434 Apr 4, 2019
@ghost ghost removed needs PR labels Apr 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants