I'm using pyenv to manage virtualenvs.
I've just create a fresh new virtualenv and activate it using
pyenv virtualenv 3.11.2 my-venv
pyenv activate my-venv
But when I execute pip freeze
I got a list of a lot of packages installed instead of the desired empty response.
I checked:
$ pyenv which python
/home/miguel/.pyenv/versions/my-venv/bin/python
$ python --version
Python 3.9.13
$ pyenv deactivate
/home/miguel/anaconda3/bin/python
$ pyenv which python
/home/miguel/anaconda3/bin/python
I've done this many times in the past, but I'm not sure what is happening now. Do you have any clues?