PTVS
PTVS copied to clipboard
Interactive Window not working or displaying output
Received the following bug report from our docs team.
I’m running into an error right away when I try to repro the steps in the article.
I’m using Python 3.11 64-bit and I have the ipython and matplotlib libraries installed.
When I start the Interactive Window with the Use IPython interactive mode setting, I get the following error:
I tried to repro the steps for an Anaconda installation, and the output isn’t as expected.
After entering the code into the Interactive Window, an inline graph should display. In my test, no graph displays:
--- OR ---
I tried entering the code as a block input at a single prompt and also line-by-line. Neither method produced a graph or error message. The window just displays a subsequent prompt.
Here’s what the article says:
When I run the longer code straight from Visual Studio, the program opens a console window that simply says, Press any key to continue, which closes the window. No graph displays.
Here’s what the article says: