Python 3 has been around for quite a long time already, so it is long due a good step by step tutorial on how to install the new version of Python with the usual libraries used in these posts.
The easiest way to install all the libraries that you need for Python 3 is to use the Anaconda installer, and then add any additional libraries that you may need. In this post, I will show you how to do a clean install (no preview versions installed on your computer).
Install python 3 with Anaconda
- First go to the Anaconda downloads page and just click the button that says Download below Python 3.7 version (or the latest version). You can also select an specific version ofr 64 bit or 32 bits systems, if you want to do so.
- Once the program has been downloaded, just run the installer and follow the instructions. There is no need to change any of the default options. The installation takes several minutes to complete.
- Although this is not necessary, it is always good to check that all is working. So just open the Anaconda Navigator to see that all is working well.
Where are pip, matplotlib, etc.?
It is already installed! Anaconda installs several libraries, matplotlib and pip are included. You can find all of them here. You may want however to update your installation. That is done by going to Environments in the Anaconda Navigator and search for any library you want to update. If on the right hand side there is an arrow and the version is in blue color, there is an update available. Select the library and click on Apply at the bottom (the green button). A window will pop up with the package(s) to be updated, just click Apply and the packages will be updated.