'creating new pyenv virtualenv but all old packages are still there

I used to

pyenv virtualenv 3.8.12 newenv
pyenv activate newenv
pip list

-> and there was no package install, which is good since we want to start fresh

Now, I don't know why, all my packages are present. Pip list contains dozens of packages. There is nothing in PYTHONPATH.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source