Open AmerM137 opened 4 days ago
14:20:20.184 [error] Failed to get activated conda env vars for ~\mamba\envs\sticks\python.exe in 137ms
We're failing to get activated env variables for Python env.
@AmerM137 does this work for you with python extension version 2024.16.1 or 2024.14.1 ?
@karthiknadig I downgraded to the versions you mentioned. I see the same issue, no change. Env vars are not being loaded and kernel crashes immediately on DB query.
Environment data
Notes: I alias micromamba to mamba, so anywhere where it says mamba can be replaced with micromamba. I am using the stand-alone executable for micromamba. I've also replaced personal information with XXX where applicable.
Code Snippet
Repro Steps
Supporting Info
#1 Micromamba env not activated beforehand - Notice that there is only one conda-related env var available. There are a few env vars and site packages related errors in the jupyter log.
#2 Micromamba venv activated in cli first then VSCode launched with "code" - Many more env vars available as well as important ones for geospatial work like GDA_DATA and GDAL_DRIVER_PATH. Env vars and site packages related errors are still showing, but the issue is resolved and the data query works with no crashes.
#3 Micromamba env not activated beforehand - but now miniforge3 is also installed on the same pc. - There seems to be a mix of miniforge and mamba env vars. Env vars and site packages related errors are gone for some reason.