My default Python installation is from pip which is at 2.7.10.
apt-get has already Python 2.7.13 installed. I don't want to keep both installations because it's confusing, and I would prefer to keep the
apt-get one because I'm more familiar with it. Can pip use the Python installation from
Trying to uninstall pip Python, I get:
pedro@gordo-002528460857:~$ pip uninstall python Cannot uninstall 'Python'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
What's the best way to work this out?
If you have any better advice, I'm happy to take it because I don't work regularly with Python, so I don't know the best practices here.
More info from the .bashrc:
export PATH="~/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"
pedro@gordo-002528460857:~$ which pip /home/pedro/.pyenv/shims/pip