Skip to content

yarn python

Terminal window
yarn python

This command mirrors yarn node, but for Python. When called from a workspace that belongs to an island using the venv linker, it sets up a virtualenv-like environment (VIRTUAL_ENV, PYTHONPATH, and PATH) so Python can resolve packages from .venv/lib/site-packages.