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

"Select interpreter" does not support direnv environments #36

Closed
patrys opened this issue Nov 10, 2017 · 1 comment · Fixed by #854
Closed

"Select interpreter" does not support direnv environments #36

patrys opened this issue Nov 10, 2017 · 1 comment · Fixed by #854
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@patrys
Copy link

patrys commented Nov 10, 2017

Environment data

VS Code version: 1.18 insiders
Python Extension version: 0.8.0
Python Version: 3.6
OS and version: macOS 10.13.2

Actual behavior

Python binary (${workspaceRoot}/.direnv/python-3.6.3/bin/python) is not on the list.

Expected behavior

Python binary should be listed.

Steps to reproduce:

  • install and enable direnv (https://direnv.net/)
  • create an .envrc file with layout python3 or layout python as its contents
  • run direnv allow
  • launch Code
  • run the "Python: Select interpreter" command
@MikhailArkhipov
Copy link

This seems to be working for me. I created virtual env, placed it under .direnv, added path to the workspace settings and the interpreter appears in the list

image

@MikhailArkhipov MikhailArkhipov added info-needed Issue requires more information from poster and removed needs decision labels Feb 21, 2018
@MikhailArkhipov MikhailArkhipov self-assigned this Feb 21, 2018
@MikhailArkhipov MikhailArkhipov added this to the February 2018 milestone Feb 21, 2018
@MikhailArkhipov MikhailArkhipov added needs PR and removed info-needed Issue requires more information from poster labels Feb 21, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants