17 ms·
Which also installs a complete JVM in it.
by tcptomato 2y ago
Which also installs a complete JVM in it.
- zahlman 2y agoNot really; it can just symlink the base executable and make a few folders and scripts. $ python -m venv --without-pip test-venv && du -sh test-venv 56K test-venv
- dragonwriter 2y agoConceptually, a venv has its own executable. Physically, that can just be a symlink to the system python (or another version that is still potentially shared with multiple venvs.)
- simonw 2y agoThat's one of the great things about uv: it uses clever symlink tricks to avoid installing copies of things, so it's wildly fast.