update Python Conda environment
2023-10-22Lag et nytt conda environment med nyeste python versjon
Lag et nytt conda environment med nyeste python versjon
Top right drop-down menu:
Edit configurations
python interpreter:
place breakpoint (not in the template, click the left border)
--OK--
Debug 'name' (F5) (At least with VS Code keymap)
uv python install <version>
uv init
Set correct python version in .python-version
(re)-build venv
uv venv
Updates .venv files
Activate venv environment
source .venv/bin/activate
deactivate
Install dependencies from requirements.txt
uv pip install -r requirements.txt