Changing default version of Python used on Linux system
I had a problem after installing Anaconda IDE to run with Python 3.5, where I needed the directory for Anaconda in my Path but I didn't want Python 3 as my default version (it was breaking scripts). First fix was changing the alias. But running $ which python # or $ python --version Still showed version 3.5. I found the following guide perfect for fixing this so my default version went back to 2.7: https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux Now I can easily switch when needed.









