Everything You Ever Wanted to Know About Setting up Python on Windows, Linux and Mac

In case you still have doubts or are stuck at any step, here is a video of the entire installation process:   Steps to Install Python on macOS The installation steps for macOS are very similar to the Linux installation steps.

Both of them have the same bash terminal.

The only difference is the Miniconda installer file that you need to download.

You can download Miniconda for macOS from this link: https://docs.

conda.

io/en/latest/miniconda.

html This time you have to choose the macOS “bash installer” and the suggested Python version should be any version greater than Python 3.

5.

Once you have downloaded the above file, you just have to follow steps 2 to 5 from the Linux installation steps and that would be enough to get you started.

Watch the below video to get a full run-through of installing Python on macOS:   Steps to Install Python on Windows Let’s have a look at the steps to install Python and other data science libraries on Windows.

  Step 1: Get Anaconda You can download Anaconda from this link: https://www.

anaconda.

com/distribution/ You can choose the Windows version of the installer and the suggested Python version should be any version greater than Python 3.

5.

Now you will see two choices – 32 Bit and 64 Bit installer.

Choose the one which is compatible with your system (right-click on ‘My Computer’ to view this if you’re unsure).

  Step 2: Installing Anaconda Once you have downloaded the installation file, go to the “Downloads” folder and double-click on the file.

A new window for installation will open: Then click “Next” and this will take you to the license agreement.

Click “I Agree” to accept it: It will then ask you whether you want to install this software only for this user or all the users of the system.

This is totally your choice to make.

I usually go with the “recommended” option: Now you can choose the location where you want this software to be installed: Now, in the next window, you will get a couple of “advanced options”.

You can untick both of them for now and click Install.

This step might take some time: Once the installation is complete, you can click “Next”: You can skip the installation for Microsoft Visual Code: And click finish: And voila!.Python is all ready for you to begin analyzing data and building machine learning models.

  Step 3: Start Jupyter Notebook To see that everything has been installed correctly, we will open a Jupyter Notebook.

To do that, first go the start menu and search for “Jupyter”: Click on the “Jupyter Notebook” option and this will open the notebook in a browser: Now you can simply click on “New” and select “Python 3” to start a Python 3 notebook to work with: Here’s a video detailing how you can install Python on Windows in case you prefer learning through a visual format:   End Notes So that was all about installing Python on all the popular platforms out there.

My aim here was to acquaint you with the installation process and to clear any doubts you might have.

If you still face any issues, let me know in the comments section below and I’ll be happy to help you out!.And make sure you check out the two courses below to start your journey into data science using Python: Introduction to Data Science (using Python) Applied Machine Learning You can also read this article on Analytics Vidhyas Android APP Share this:Click to share on LinkedIn (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Reddit (Opens in new window) Related Articles (adsbygoogle = window.

adsbygoogle || []).

push({});.

. More details

Leave a Reply