Python installation and preferences setting

Share

Let’s install Python and set up the basic environmental settings.

■ Install python with Anaconda

There are many ways to install Python. In this article, I’ll cover how to install Python with a tool called Anaconda.

Anaconda is a tool that makes it easy to install various Python packages like panda, numpy, Jupyter notebooks, etc. It is free for commercial use and can be installed at the company as well.

https://www.anaconda.com/products/individual

Go to the link above and download and install the executable(.exe file) that fits your OS. (Note: choose python or anaconda (NOT BOTH!) to prevent collisions.)

■ Anaconda installation steps

When you start the executable, simply press Next to complete the installation. You do not need to change settings. In the fourth image below, you can set the default path. I completed the installation with the original setting.

■ Anaconda Navigator

When anaconda installation was completed, an Anaconda Navigator would have been created on the start bar. Let’s run Anaconda Navigator.

Run a Python Jupiter laptop.

■ Jupiter Notebook

If you click on the launcher of the Jupiter entry in the Anaconda Navigator, you will see that the Jupiter notebook server will run and run with a new tab on the Internet.

Click New on the right to create a new folder.

The newly created folder name is ‘Untitled Folder’. If you want to change the folder name, you can click the box and click Rename to change it to the name you want. I changed the folder name called ‘practice’.

Now let’s get into the newly created practice folder and create a Python 3 notebook.

To make sure Python is well installed, let’s simply enter the code below.

print ('hello world')

If hello world is printed well, as in the image below, you’ll end up installing Python!

Leave a Reply

Your email address will not be published. Required fields are marked *