Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 863 Bytes

PACKAGING.md

File metadata and controls

35 lines (22 loc) · 863 Bytes

PM: package manager.

Package Managers

  1. Poetry Install Guide
  2. uv install

Virtual Environments

One could use venv or virtualenv or conda. Conda tends to be more useful when installing GPU stuff and system libraries, and otherwise not necessary.

In both cases below, it's useful to alias sve=source .venv/bin/activate/.

python3.11 -m venv .venv
sve

then use the PM within the env.

uvcan also manage .venv.; for example uv venv creates one at .venv.

Normally, in any case, you'd use the version:

uv venv --python 3.11

Python versions

It is handy to have and test with supported python versions, uv makes it easy:

uv python install 3.10 3.11 3.12