Getting an error in output during startup #22591
Labels
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
Expected vs. Actual
Expected: Non error in the output window
Actual: following error during startup, last lines:
2023-11-08 15:12:58.401 [info] Starting Pylance language server.
2023-11-08 15:13:00.590 [error] [Error: Command failed: /Users/joeisaac/opt/anaconda3/condabin/conda run -n py27 --no-capture-output python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py
Unknown option: -I
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try
python -h' for more information. ERROR conda.cli.main_run:execute(49):
conda run python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py` failed. (See above for error)code: 2,
killed: false,
signal: null,
cmd: '/Users/joeisaac/opt/anaconda3/condabin/conda run -n py27 --no-capture-output python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py'
}
2023-11-08 15:13:02.592 [info] > ~/opt/anaconda3/envs/py27/bin/python -I ~/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py
2023-11-08 15:13:02.611 [info] > ~/opt/anaconda3/condabin/conda run -n py27 --no-capture-output python -I ~/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py
2023-11-08 15:13:09.196 [error] [Error: Command failed: /Users/joeisaac/opt/anaconda3/condabin/conda run -n py27 --no-capture-output python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py
Unknown option: -I
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try
python -h' for more information. ERROR conda.cli.main_run:execute(49):
conda run python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py` failed. (See above for error)code: 2,
killed: false,
signal: null,
cmd: '/Users/joeisaac/opt/anaconda3/condabin/conda run -n py27 --no-capture-output python -I /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/get_output_via_markers.py /Users/joeisaac/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/interpreterInfo.py'
}
2023-11-08 15:18:13.622 [info] > ~/opt/anaconda3/condabin/conda info --json
2023-11-08 15:18:14.831 [info] Send text to terminal: conda activate py3816
Steps to reproduce:
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
VS Code version: Code 1.84.1 (Universal) (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:37:18.666Z)
OS version: Darwin x64 23.0.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (36)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: