-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Actived Python Environment only partially works #25036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you print your $PATH (or whatever the equivalent of this variable is on Windows), in the integrated terminal? I am experiencing a similar problem (on macOS) and I noticed there are some broken characters in the $PATH, causing the shell to fail in finding the correct python interpreter. |
Not sure if this is related, but when |
@SiddharthPatel45 the \x3a is not caused by Python extension but is a regression in core VS Code: microsoft/vscode#248468 |
Thanks for the update. Let me follow up on that issue. |
I am experiencing this under Windows WSL2. Here's my terminal when trying to run unicorn:
There are two solutions to these I personally use:
The moment I do that the command proceeds as expected:
Oh as for the |
@maratnugmanov This might have been caused by microsoft/vscode#248468 , can you try updating to VS Code version 1.100.2? |
@karthiknadig that was on 1.100.2 I manually go through clicking Check for Update to be sure I'm on the latest stable. So it is still there. Ii will try tomorrow again but this on the latest, that has dropped today. UPDATE: If that helps, trying to |
@karthiknadig yes it's indeed true for 1.100.2, I have tried again today.
|
@anthonykim1 can you take a look at this. |
Type: Bug
Automatically activated environments only partially work.
python.exe
is found, but other tools likepip.exe
(orruff
if installed) are not.In previous version, this worked.
> Python: Create environment...
.venv\Scripts\python.exe
and.venv\Scripts\python.exe
exist.Get-Command python.exe
(should show you the python binary in your new venv).pip.exe
.venv\Scripts\Activate.ps1
pip.exe
again. Now it works.VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (5)
A/B Experiments
The text was updated successfully, but these errors were encountered: