Skip to content

Removing --live-stream from conda run causes EOF for input() #838

@rhewy

Description

@rhewy

Type: Bug

Steps to reproduce

Install conda

Create an env

Install and run the latest VSCode

Version info below

Version: 1.104.0 (user setup)
Commit: f220831ea2d946c0dcb0f3eaa480eb435a2c1260
Date: 2025-09-10T06:46:18.035Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26100

Create a folder

Add a main.py

Use the Python environment extension to activate the conda env for the project

Add the code below to main.py

print('test')
junk = input('Enter something: ')
print(f'You entered: {junk} ')

Right click on the file an choose: Run python file in terminal

Get the following output and error:

test
Enter something: 
Traceback (most recent call last):
  File "e:\_lab_dev\gist\7010\test\main.py", line 2, in <module>
    junk = input('Enter something: ')
EOFError: EOF when reading a line

Add --live-stream option to conda run and the error goes away

& conda run --live-stream --name gist7010 python e:/_lab_dev/gist/7010/test/main.py
test
Enter something: 10
You entered: 10 

Extension version: 1.6.0
VS Code version: Code 1.104.0 (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-10T06:46:18.035Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.79GB (5.04GB free)
Process Argv --crash-reporter-id 82cf0f5c-bc12-4077-a41c-08830b75b0c1
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vswsl492:30256859
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
82j33506:31327384
nes-set-on:31351930
6abeh943:31336334
envsactivate1:31353494
0927b901:31350571
ovs_t:31383295
aa_t:31379598
0cj2b977:31352657
cloudbuttont:31379625
todos-1:31384886
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions