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

miniforge environments can not be detected #23655

Closed
rebornix opened this issue Jun 23, 2024 · 2 comments
Closed

miniforge environments can not be detected #23655

rebornix opened this issue Jun 23, 2024 · 2 comments
Assignees
Labels
area-environments Features relating to handling interpreter environments bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@rebornix
Copy link
Member

Type: Bug

I was trying to build https://github.com/abetlen/llama-cpp-python and set up miniforge environments. However after environment set up properly, Python extension can not detect them.

Here is what I have in the .conda folder

(.venv) lvpeng@lvpengdeAir .conda % cat environments.txt 
/Users/lvpeng/miniforge3/envs/llama
/Users/lvpeng/miniforge3

Extension version: 2024.8.1
VS Code version: Code - OSS Dev 1.91.0 (Commit unknown, Date unknown)
OS version: Darwin arm64 23.5.0
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.12.3
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Default
User Settings


languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
GitHub Copilot GitHub.copilot 1.206.0
GitHub Copilot Chat GitHub.copilot-chat 0.17.2024062101
JavaScript Debugger ms-vscode.js-debug 1.90.0
JavaScript Debugger Companion Extension ms-vscode.js-debug-companion 1.1.2
Jupyter ms-toolsai.jupyter 2024.6.2024062001
Jupyter Cell Tags ms-toolsai.vscode-jupyter-cell-tags 0.1.9
Jupyter Keymap ms-toolsai.jupyter-keymap 1.1.2
Jupyter Notebook Renderers ms-toolsai.jupyter-renderers 1.0.18
Jupyter Slide Show ms-toolsai.vscode-jupyter-slideshow 0.1.6
Pylance ms-python.vscode-pylance 2024.6.1
Python ms-python.python 2024.8.1
Python Debugger ms-python.debugpy 2024.6.0
Table Visualizer for JavaScript Profiles ms-vscode.vscode-js-profile-table 1.0.9
System Info
Item Value
CPUs Apple M3 Max (14 x 2400)
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 2, 2, 2
Memory (System) 36.00GB (0.10GB free)
Process Argv /Users/penlv/Code/Work/vscode
Screen Reader no
VM 0%
@DonJayamanne
Copy link

@rebornix Please can you try the latest version of the Python extension and see if the miniforge ptyon is discovered?
@karthiknadig do we officially support miniforge?

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster area-environments Features relating to handling interpreter environments and removed triage-needed Needs assignment to the proper sub-team labels Dec 11, 2024
@karthiknadig
Copy link
Member

No, we don't officially support miniforge. (Plug for env extension) Interested developers can now contribute support for this using APIs from https://github.com/microsoft/vscode-python-environments extension.

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-environments Features relating to handling interpreter environments bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants