Interactive Window can't connect to the conda environment after the latest update
See original GitHub issueEnvironment data
- VS Code version: 1.71.0
- Jupyter Extension version (available under the Extensions sidebar): v2022.8.1002431955
- Pylance Extension version (available under the Extensions sidebar): v2022.8.50
- Windows version: 10 21H2 19044.1889
- Python and/or Anaconda version: 3.10.5 , 1.8.0
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): Conda
- Jupyter server running: Local
Expected behaviour
I expected to connect successfully to the environment and run codes.
Actual behaviour
After the new update, I can’t use Interactive Window in VSCode. It stuck on connecting to the environment:
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- XXX
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
interactive window not opening in other conda environment
Some how I am unable to open python interactive window in other conda environment. This works perfectly fine in base environment, ...
Read more >VS Code Python Interactive Window Cannot find Conda Env
1- Click Start Menu Windows logo, type "path" click on "edit the system environment labels" · 2- Under PATH for User Variables, if...
Read more >Work in Windows Subsystem for Linux with Visual Studio Code
This tutorial walks you through enabling Windows Subsystem for Linux (WSL) and running Visual Studio Code in WSL using the WSL extension.
Read more >Manage Python environments and interpreters - Visual Studio ...
Use the Python Environments window to manage global, virtual, and conda environments. Install Python interpreters and packages and assign ...
Read more >VS Code: Shift+Enter does not send code to Python Interactive
If you go to the Settings( Ctrl + , ) you can see the search bar. There, put in 'Send Selection To Interactive...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
great to hear, thanks for the update!
Hi, No, it wasn’t working for a couple of days. I found out that the problem was rising where my conda environment got corrupted. So, Firstly I removed the
ipython
package usingconda remove ipython
in the activated environment. Secondly, I installed theipython
andipykernel
usingconda install -c conda-forge <PKG_NAME>
. Now the interactive window is working on the environment. Thanks. I’ll close this issue.