you can switch tensorflow version by creat links with this file. save installed tensorflow at ~/.local/lib/python3.5/site-packages/versions_tensorflow.use tensorflow by creating links and delete links otherwise.
Repository from Github https://github.comxyez/switch-tensorflow-version-on-linux