Saturday, July 23, 2022

[SOLVED] Does pyenv uninstall remove all packages installed via pip?

Issue

I want to remove some older versions and I'm wondering do I have to remove all of the packages installed via pip first, then do a pyenv uninstall [version]?

id='dv3'>

Solution

In essence pyenv uninstall removes the entire directory with a python version. So yes, I'm sure it removes installed packages as they are in $PREFIX/lib/pythonX.Y/site-packages.



Answered By - phd
Answer Checked By - Gilberto Lyons (WPSolving Admin)