DiamondLightSource / DiamondLightSource/python-copier-template
Use custom devcontainer images with unexpected python instalations
Offen
- Vorherrschende Sprache
- Jinja
- Sterne
- 25
- Forks
- 10
- Ø Merge
- 4 Std. 4 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
The uv setup relies on the standard devcontainer image which comes with the repo. If attempting to switch image, the default uv integration fails.
Resolved by clearing existing uv setup and installing fresh, then using `$ uv venv --seed --system-site-packages` to create the venv. Run programs with `$ uv run python /workspaces/path_to_file/file.py`.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.