Blog
Practical guides and notes on Python, Django, PostgreSQL, Linux, GIS and AI — written from real projects.
Showing articles tagged #venv · Clear filter
Coming from venv + pip? uv replaces both — it manages the virtualenv and installs packages. You rarely activate the venv manually; uv run <cmd runs a command inside the project's .venv automatically. Mental model:…

If you work on multiple Python projects, you’ve probably typed this command hundreds of times: source venv/bin/activate It’s easy to forget, and running code outside the correct environment can cause confusing bugs. In…
