I did a fresh install of Ubuntu 16 LTS, but keeping a dump of the packages I had installed previously, and reinstalling them, using the answers to this question: How to backup settings and list of installed packages.
After running updates again, I tried to use python, and got this error:
/home/niel/.pyenv/libexec/pyenv-exec: line 47:
/home/niel/.pyenv/versions/3.4.0/bin/python: No such file or directory
I checked manually and
/home/niel/.pyenv/versions/3.4.0/bin/python does exist.
/home/niel/.pyenv/versions/3.4.0/bin/python3.4 --version gives me the same error.
bash: /home/niel/.pyenv/versions/3.4.0/bin/python3.4: No such file or directory
What’s wrong here? Could the paths be broken?