How to upgrade from Python 3.5 to 3.6?

I think you have to download Python 3.6 package, but no need to uninstall the 3.5 Version (you can have both)

Keep in mind that the custom libraries you where using with python 3.5 have to be installed for 3.6 too, but you can do that with pip easily

Changing the interpreter from pycharm can be achieved when creating a new project:

enter image description here

or from default settings for an already created project:

enter image description here


If someone's using MacOS, Linux or WSL then can use asdf.

  1. Clone the asdf repository
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
  1. Edit ~/.bashrc file and add $HOME/.asdf/asdf.sh

  2. Restart your terminal and you'll be able to use asdf

  3. In order to add the plugins, in your case Python, you can run this -

asdf plugin add python
  1. List all the versions of python -
asdf list all python
  1. Install the version as per your requirement (can install the latest one) -
asdf install python latest
  1. Set the installed version globally, locally (for a particular project) or for this particular shell .
asdf global python latest

On Unix it would be fair enough to correct softlinks. On Windows as far as I see people resort to playing around with paths. Here is the most detailed answer.