-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Description
Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
- Have multiply python environments in your machine. Choose an environment.
- Load an .ipynb file. Run the file. Import a library that you don't have in your current environment . You should get an error.
- Try changing the environment through the bottom blue bar. Select the environment that does have the library. Check top right environment. It doesn't change even though it should
- Run the cell again. Error still appears.
- Environments in top right and bottom left don't match.
- Change the environment through the top right bar. This should work. (bottom left environment is not updated.)
Actual behavior
The only way to fix this is not by Command+Shift+P and selecting a different environment. I fixed it by changing the environment shown in the top right hand side of VS Code.
Expected behavior
The bottom option and Command+Shift+P should change the environment.
Your Jupyter and/or Python environment
Please provide as much info as you readily know
- Jupyter server running: Local
- Extension version: 2020.2.64397
- VS Code version: 1.42.1
- Setting python.jediEnabled: true
- Python and/or Anaconda version: 3.6 (venv), 3.7 (base)
- OS: Mac
- Virtual environment: conda
Developer Tools Console Output
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
Metadata
Metadata
Assignees
Labels
No labels
