tips for folks getting started.

Don't use the system-level python as that can update and break dependencies. E.g. Arch uses 3.13 if you update and Tensorflow can't go above 3.12.

Use pyenv to do version management per project. github.com/pyenv/pyenv

Don't install pip dependencies globally. Use virtualenv to set up dependencies per project. virtualenv.pypa.io/

Python versioning is rough out of the box and these tips can save you some pain.

@mauve @carlos yeah I'd definitely recommend uv as a full replacement for pyenv, pip, pipx, etc. Even system Python if you want. It works great.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.