79367270

Date: 2025-01-18 14:00:43
Score: 0.5
Natty:
Report link

January 2025 Updated Solution

My setup uses uv for the package manager. uv is the fastest Python package manager, and VScode is the most common code editor.

To build a new venv with uv and VScode:

Open a new terminal

  1. mkdir folder_name
  2. cd folder_name
  3. uv init
  4. uv venv
  5. source .venv/bin/activate
  6. uv add ipykernel

Open the folder in VScode 7. Check Python and Jupyter VScode extension are installed and active. 8. Open a new .ipynb file. 9. Select venv kernel in right, top dropdown.(Select another kernel > venv in .venv folder) 10. For mac(OSX) > F1 (command pallette) > Python: Select interpreter > Select Python interpreter in .venv file.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alican Kilicarslan