ciberlandia.pt é um dos muitos servidores Mastodon independentes que podes utilizar para participar no fediverso.
Uma instância 🇵🇹 dedicada à tecnopolítica e também a tudo o resto. Regras e termos em ciberlandia.pt ❤️ 🏳️‍🌈

Estatísticas do servidor:

101
utilizadores activos

Público

#python 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.

GitHubGitHub - pyenv/pyenv: Simple Python version managementSimple Python version management. Contribute to pyenv/pyenv development by creating an account on GitHub.

@mauve this is a great tip! I would add that when I teach beginners that are not familiar with the command line, I recommend they try thonny.org, a nice code editor for that also provides a simple way of having isolated virtual environments where you can experiment and install stuff without fear of breaking your system.

thonny.orgThonny, Python IDE for beginners
Público

@mauve @villares Its so cool the two of you are trading cards!!!