DiamondLightSource / DiamondLightSource/python-copier-template

Use custom devcontainer images with unexpected python instalations

Đang mở
#329 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jinja
Star
25
Fork
10
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
6

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.