- First find the IPython location using ‘which’ command
- Then open that IPython script with a text editor
nano /usr/bin/ipython
- Then change the the ‘VERSION’ number in the script with the version you want(here I changed it as 3.7)
- Save the file and that’s it(Sometimes system will ask to re-login)
- Enter ‘ipython ‘ command to check the change