Unable to do-release-upgrade because which python point to env/bin/python
You have to remove your local python from PATH environment variable and run upgrade process by using the following commands:
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
sudo -E apt-get update
sudo -E apt-get dist-upgrade
sudo -E do-release-upgrade