How do I remove unnecessary python packages? At global and in vnev?
How do I remove unnecessary python packages? At global and in vnev?
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.