You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens on some of my conda environments. I'm not sure why.
I'm on WSL
My conda environment "sim" uses Python 3.7
I try to discover tests
The output is as follows
> conda run -n sim --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.8.1/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.8.1/pythonFiles/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear tests
cwd: .
[ERROR 2022-6-6 15:6:56.228]: Error discovering pytest tests:
[n [Error]:
DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.
Use 'conda create' to convert the directory to a conda environment.
target directory: /home/kyle/anaconda3/envs/sim/envs/sim
VS Code version: Code - Insiders 1.69.0-insider (f1abeea, 2022-06-30T05:16:49.202Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
System Info
Item
Value
CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
Hi @kjohnsen, thank you for reaching out! Your issue seems like the dup of #19069.
Did you open VSCode from an activated terminal? If so, can you try opening your repo from a non-activated terminal, and see if the problem still occurs? There is an issue with conda run when running it from a terminal that already has an activated environment (conda/conda#11305, conda/conda#11174).
Some more information I need for the VSCode terminal which might be helpful:
Value of ComSpec environment variable. Start a new CMD session and run set ComSpec.
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.
Uh oh!
There was an error while loading. Please reload this page.
Issue Type: Bug
This only happens on some of my conda environments. I'm not sure why.
VS Code version: Code - Insiders 1.69.0-insider (f1abeea, 2022-06-30T05:16:49.202Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (47)
(8 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: