-
Notifications
You must be signed in to change notification settings - Fork 434
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
VSCode + Virtualenv #6
Comments
I'm having this issue as well with conda environments. Using python 3.6.5. |
The python extension automatically detects pipenv virtual environments however the pyre VSCode extension calls the 'pyre' executable in a way that doesn't seem to pick up the detected environment. It behaves as if For example if I use |
I had the same issue and as a work around, I modified the pyre command in the extension to the full path of the pyre executable. The location is in For whatever reason, VSCode has a hard time finding things in virtualenv. I think this is why many extensions have a config for the path of it's executable. |
It works on my computer if I start vs code from a terminal where the venv is activated |
Having the same issue with virtualenv activated |
I've reproduced this when Code: 1.76.2 |
Also running into this issue -- it seems like the vscode extension uses the global version of pyre instead of the interpreter configured in vscode. I'd love to use pyre but this is blocking for me, as I'm working on a project with multiple environments. |
This is also happening for me, I am hacking around it by adding my virtualenv bin directory to the system PATH, which is not ideal. |
Environment
OS: OSX 10.13.2
Python: 3.6.4 (in pipenv managed virtual environment)
VSCode: 1.23.1
Error
After installing the extension I get the following error in the 'Output' window within VSCode
Running
pyre
within the virtual env completes successfully and detects the sample type error.The text was updated successfully, but these errors were encountered: