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

environment double activated? #22234

Closed
dataders opened this issue Oct 16, 2023 · 1 comment
Closed

environment double activated? #22234

dataders opened this issue Oct 16, 2023 · 1 comment
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@dataders
Copy link

Type: Bug

Behaviour

Expected vs. Actual

Expected

Only one environment activates in my open Terminal when the Python extension is activated.

Actual

Somehow the environment (dbt) still is listed in parentheticals, but so is (base).

To get it back to what I'm used to, I must call conda deactivate twice, then conda activate dbt

Steps to reproduce:

  1. have an already created environment defined as Python's default interpreter (at workspace or user-level)
  2. Open .py file to trigger opening of Python extension
  3. Open terminal

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.11.5
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

Extension version: 2023.19.12861011
VS Code version: Code - Insiders 1.84.0-insider (Universal) (eb4f3c149f34d82b9763a08230907cf79e7fc103, 2023-10-10T05:42:05.917Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info
Item Value
CPUs Apple M1 (8 x 24)
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) 6, 5, 6
Memory (System) 16.00GB (0.08GB free)
Process Argv --crash-reporter-id 48bee2e8-074d-4e7e-a76a-71ed9f62cc77
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
py29gd2263:30784851
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
showlangstatbar:30737417
57b77579:30687741
pythonfmttext:30716741
fixshowwlkth:30771523
showindicator:30805243
pythongtdpath:30726887
i26e3531:30792625
welcomedialog:30812478
pythonnosmt12:30779711
pythonidxpt:30768918
pythonnoceb:30776497
copilotsettingc:30808720
dsvsc013:30777762
dsvsc014:30777825
diffeditorv2:30786206
pythonmpswarning:30859870
dsvsc015:30821418
pythontestfixt:30859590
pythonregdiag:30859652
pythonmypyd1:30859725
pythoncet0:30859736

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 16, 2023
@dataders
Copy link
Author

duplicate of #22233

@dataders dataders closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

1 participant