PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

No output with using ipython interactive window

Open AlphaScorpii-dev opened this issue 3 years ago • 4 comments

Describe the bug When using Ipython for interactive mode, the commands seem to be executed right, but nothing is ever displayed in the command window.

Steps to Reproduce

  1. Pick your Python environment
  2. Select "Use IPython interactive mode"
  3. Open an interactive window
  4. Enter some random command that should trigger some display on the standard output (print(1) for instance)

Expected behavior The command prompt should the same output whether you're using Ipython or not

Configuration information (If you are providing a diagnostics file (see below), skip this section) VS Version: 17.4.1 PTVS version: 17.0.22263.6 Python version: 3.11.0

AlphaScorpii-dev avatar Nov 17 '22 01:11 AlphaScorpii-dev

Might be a duplicate of #7118. Did you observe the similar behavior?

StellaHuang95 avatar Nov 17 '22 22:11 StellaHuang95

The time spent before returning after a command is definitely longer than with the "normal" interpreter, but I don’t have a freeze, meaning that in the end the cursor is available again and I can write other commands. However I haven’t check if the commands really had an effect (hard to say without outputs… I should perhaps try to create a file or something).

AlphaScorpii-dev avatar Nov 17 '22 22:11 AlphaScorpii-dev

Here is what I get on my side screenshot

AlphaScorpii-dev avatar Nov 18 '22 01:11 AlphaScorpii-dev

I am experiencing same issue, i have tried using conda or cpython but still not working my current configuration is

VS Version: 17.7.4 PTVS Version: 17.0.23189.3 Python version: 3.11.5

Is there any solution?

JehhB avatar Sep 18 '23 14:09 JehhB