-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Auto-activation of a conda environment not working #22856
Comments
I think it's happening because of this issue which was just fixed: #22850, can you try out the latest pre-release version of the extension? |
Still not working, but at least there is no misleading message this time. Python output
|
Great, we're getting closer. Can you please provide the debug logs?
Output for
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I am fine now, still thank you for your kindness! |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. |
Type: Bug
Behaviour
Expected vs. Actual
The new auto-activation environment scheme is not working here. If I run
pip list
, I can't see the packages that are installed in the virtual env. If I manually activate the environment, it works.Steps to reproduce:
myenv
)settings.json
like this:settings.json
(base)
on the terminal andmyenv
is in fact activated...pip list
, I cannot see the packages that are installed in my target virtual env.conda activate myenv
, I got the expected(myenv)
prompt and all works fine.myenv
while in the(base)
scenario, the script runs (noImportError
).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
Extension version: 2024.0.0
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19042
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: