How do I remove unnecessary python packages? At global and in vnev?

https://lemmy.world/post/1182075

How do I remove unnecessary python packages? At global and in vnev? - Lemmy.world

As an alternative to having to clean your Python environments, I’d like to suggest putting those efforts into mastering Docker. If you can master using Docker containers as your Python environment, you can cut through a lot of the pains regarding dealing with virtual environments, multiple Python installations, and the quasi-confusing PYTHONPATH environment variable.

I don’t even install Python on my machines anymore. I’m 100% “dockerized” and I’ll never go back.

I have started to learn Docker recently and i might do this in future.
You won’t regret it- Docker is great for development and deployment. It’s definitely a desirable skill to have on your resume.
@CodeBlooded @G0FuckThyself yeah I really want to do this as well at my job so I can develop and test for the correct Python version (my laptop runs a newer version then our Production environment), but the laptop is wayyyy too slow to do that. But, I will get a new laptop soon, so who knows