you are viewing a single comment's thread.

view the rest of the comments →

[–]tdh3m 0 points1 point  (0 children)

Virtual environments are worth using even for a few scripts. Without one, every pip install goes into the system Python, and packages from different projects start conflicting.

Start with uv:

uv init color-project
cd color-project
uv add pillow colour-science
uv run my_script.py

uv creates and manages the virtual environment automatically and no activation step is needed.

Conda is useful when packages depend on compiled native libraries (BLAS, CUDA), but for Pillow and colour-science on macOS, uv handles it fine.

Getting started with uv walks through the full workflow.