

7·
16 hours agoYou shouldnt install python dependencies system wide, recent distros block running pip outside a virtual environment. Use pipx, it automates everything: https://pipx.pypa.io/
You shouldnt install python dependencies system wide, recent distros block running pip outside a virtual environment. Use pipx, it automates everything: https://pipx.pypa.io/
The alternative is death, so a lot people would choose this instead.
OP wrote they want to install dependencies as well, that’s why it’s a bit more complex situation. For python scripts without external dependencies it would work.