

3·
8 hours agoOP 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.
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.
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.
Its a repostt of a ~2 years old post, when lemmy reached 1 million