-
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
Python Shared Conda Envs Broken #18450
Comments
What version of conda are you using? |
I have the same problem, under Linux and MacOS. When starting the debugging, the extension searches for python in an environment that does not exist, because it takes as root the target environment:
The extension tries to access my forge environment in this directory.
I switched to the previous version (v2021.12.1559732655), and the problem disappeared. Here is the full output of the discovering pytest error:
VS Code System Informationtimestamp: 2022-02-06T08:49:56.438Z Information Provider
options
Warnings
OS Information
Process Information
versions
VS Code Information
env
extensionsJavaScript Debugger
JavaScript Debugger Companion Extension
Reference Search View
vscode-js-profile-table
Antidote - VS Code
GitHub Copilot
Python
Pylance
Jupyter
Jupyter Keymap
Jupyter Notebook Renderers
Remote - SSH
Remote - SSH: Editing Configuration Files
CMake Tools
C/C++
Rust
Rewrap
CMake
System Information
|
Duplicate of #18436 |
Issue Type: Bug
Since the last release, I cannot run or debug python code using a shared conda env (one which is created in a directory I don't have write access to). I created a local conda env which seems to still work ok.
When using a shared another piece of the puzzle is an error message: "EnvironmentLocationNotFound: Not a conda environment: /home/%USER%/.conda/envs/dev". This is because the dev env exists in a different location (e.g. dev /home/%admin%/miniconda3/envs/dev)
Extension version: 2022.0.1786462952
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.11.0-27-generic
Remote OS version: Linux x64 5.8.0-59-generic
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: