You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of a sudden, after an upgrade, when I launch Python in the integrated terminal, I get this:
Python 3.10.0 (default, Oct 18 2021, 02:11:22) [Clang 13.0.0 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
Cannot read termcap database;
using dumb terminal settings.
Ctrl click to launch VS Code Native REPL
]633;C]633;E;import torch]633;D;0]633;A>>>
Is there any way to go back to the old good prompt ?
I'm having the same issue. It could be that some new VS Code Python integration requires some feature that in Python 3.10 is not supported yet. When using a uv venv with 3.10.18, things break. With the host-installed 3.12 (I'm on Ubuntu 24.04), things work fine.
❯ python3
Python 3.10.18 (main, Sep 2 2025, 14:19:37) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
For me this was everything native on Ubuntu 24.04, nothing remote involved. When reading this I just happened to have a Windows machine with WSL installed available and tried to repro there, but was unable to. However, I now also tried on Ubuntu 25.10 and there the issue is also present.
Get Python 3.10.18 with uv: uv python install cpython-3.10.18-linux-x86_64-gnu
Run python3.10:
❯ python3.10
Python 3.10.18 (main, Jul 11 2025, 22:43:29) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
]633;C]633;E;exit]633;D;0]633;A>>> ]633;B
Trying the same with the system-installed version:
❯ python3
Python 3.13.7 (main, Aug 20 2025, 22:17:40) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
>>>
Activity
ahans commentedon Oct 16, 2025
I'm having the same issue. It could be that some new VS Code Python integration requires some feature that in Python 3.10 is not supported yet. When using a uv venv with 3.10.18, things break. With the host-installed 3.12 (I'm on Ubuntu 24.04), things work fine.
ahans commentedon Oct 16, 2025
Looks like the shell integration is causing this. When turning it off, things work for me again.
Turn it off via this entry in
settings.json:Then all is good also with Python 3.10:
anthonykim1 commentedon Oct 17, 2025
Thanks for filing the issue.
Are you all on remote when this happens?
I see
OS: Darwin x64 24.5.0for system OS defined, but it says linux on the terminal. Franco Alberto Cardillo (@thistlillo)Alexander Hans (@ahans) Are you on wsl? or which specific remote scenario?
Would love to know what the local machine, what the specific remote are
ahans commentedon Oct 17, 2025
For me this was everything native on Ubuntu 24.04, nothing remote involved. When reading this I just happened to have a Windows machine with WSL installed available and tried to repro there, but was unable to. However, I now also tried on Ubuntu 25.10 and there the issue is also present.
What I did was this:
uv python install cpython-3.10.18-linux-x86_64-gnupython3.10:Trying the same with the system-installed version:
ms-python.pythonis on version2025.16.0.DetachHead commentedon Oct 18, 2025
microsoft/vscode-python#25467
anthonykim1 commentedon Nov 7, 2025
Yeah, seems like dup of microsoft/vscode-python#25467