Skip to content
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

pythonTerminalEnvVarActivation is not compatible with micromamba in pwsh #22748

Closed
YouJiacheng opened this issue Jan 15, 2024 · 1 comment
Closed
Assignees
Labels
area-environments Features relating to handling interpreter environments info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@YouJiacheng
Copy link

YouJiacheng commented Jan 15, 2024

Type: Bug

Previously, I can use Set-Alias -Name conda -Value micromamba to make auto activation work. (Unfortunately, python.condaPath did not work)
With OptOutFrom pythonTerminalEnvVarActivation I can recover this behavior: First execute activate and get an error (since micromamba does not have activate), then execute conda activate and successfully activate the given environment. There is an error, but it works.

Without this opt-out, It simply not works. Execute python will raise Windows Store.

Extension version: 2023.22.1
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 15.80GB (5.37GB free)
Process Argv C:\Users\15036\code\sqoe --crash-reporter-id f2c6420f-cee6-4ab2-a69c-58d0399572cf
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30933248
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30885897
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019acf:30933242

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 15, 2024
@anthonykim1 anthonykim1 added the area-environments Features relating to handling interpreter environments label Jan 16, 2024
@karrtikr
Copy link

karrtikr commented Feb 1, 2024

Hi, Micromamba isn't supported at the minute. Closing in favor of #20919 where we do plan to add full fledged support to it.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants