You should not install Python at the system level, never. Even inside containers. System level Python might break things or create conflicts even inside Docker. The probability is lower, but still can happen and it is a headache to debug
Your posts were so depressing. I couldn't reply. I prefer the specific python containers. You just add your project to it, give it the requirements.txt and be done with it. The container filesystem is the virtualenv.
😅 Sorry, didn’t want to trigger negativity. But I had such problems in the past with Python at the system level inside Docker container and conflicting. I don’t think there’s anything “wrong”, but it is risky. I think it is simple enough to create a venv inside the container and run with it.
Comments
Don't say the best option for a Python programmer is to become a go dev 🙃