Open
Description
Type: Bug
Behaviour
Expected vs. Actual
I expect the python: conda path setting to be used everywhere conda is called.
As can be seen from the logs, a plain conda
call is used many times, and something tries to find python installations under ~\Miniconda3\...
, which does not exist.
This results in that no environments are found, and pylance cannot find locally installed packages.
Steps to reproduce:
- Uninstall conda if you have it.
- Install micromamba
- Set the conda path to point to micromamba
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.0
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServer
setting: Pylance
Output for Python
in the Output
panel
User Settings
condaPath: "C:\Users\carl4189\micromamba\condabin\micromamba.bat"
languageServer: "Pylance"
linting
• flake8Args: "<placeholder>"
• flake8Enabled: true
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: true
• pydocstyleEnabled: true
terminal
• activateEnvironment: false
Extension version: 2023.5.10791008
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112) |
GPU Status | 2d_canvas: enabled 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 webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 15.78GB (6.73GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |