How to Install Python on Windows
Python is one of the widely used programming languages for web and application development in the industry. For developing applications in Python language, we majorly use PyCharm. Before we install PyCharm, we will first download and install the latest version of Python.
Before diving any further into this tutorial, let’s have a glance at the list of topics:
Steps to Downloading Python
Step 1: Go to www.python.org
Step 2: Select ‘Downloads’ from the toolbar
Step 3: Click on ‘Download Python 3.8.1’ or the latest version available
Step 4: Then, go to the File option. After that, a security dialog box will appear as shown below. Click on ‘Run’ to continue the installation process
Step 5: Click on ‘Install Now’
Once you do that, you can see the setup in progress as in the below screenshot:
Step 6: After the installation of Python, when you see a window with the message ‘Setup was successful’, click on the ‘Close’ button
Now, you are ready with Python 3.8.1 installed in your system.
Further, we will move on to the installation of PyCharm.
You can enroll in our Python course in Bangalore, where you learn from the industry expert and get a valuable completion certification.
For developing applications in Python using PyCharm, you need to install it in your system.
PyCharm is available in two versions:
- Professional version: It is a full-featured IDE used by professional developers.
- Community version: It is an open-source and free software that is not full-featured. You can use it for learning Python application development.
The Professional version is a paid tool and comes with a free trial. You have to buy a license key for it after your free trial period is over.
The Community version, on the other hand, is open-source without any subscription charge.
In this blog, we will see the installation of the Community version that includes enough features to help us write efficient programs.
Steps to Install PyCharm
Step 1: To download PyCharm, visit the official website of JetBrains: Download PyCharm
Step 2: Click on the ‘Download’’ button
Step 3: After that, you will see the below window with two options, Professional and Community
Step 4: Download the Community version
Note: If you are interested to work with the Professional version, then you can download the Professional version and avail a free trial.
Step 5: After downloading the file, click on it
Step 6: When the following window appears, click on Next and the installation process will start
Step 7: After clicking on Next, first, a window for setting up the installation location will appear.
Note: You can either select a folder for the installation location or retain the default path.
Step 8: In the next step, you can set the Installation Options as per requirements, and then, click on the Next button to proceed
Step 9: Now, you have to select the Start Menu folder, or you can leave it as default
Step 10: After these steps, click on the Install button as above to start the installation process
Step 11: When you click on the Finish button, your PyCharm installation completes
Now, you have successfully installed PyCharm and Python both in your system.
Installing PyCharm in Linux
PyCharm for application development works great in the Linux operating system. In this section of PyCharm installation, we will see how to install PyCharm on the Linux operating system.
Steps for Installing PyCharm in Linux
Step 1: Go to the official website of JetBrains and download PyCharm
Step 2: Open the downloaded file and install PyCharm
Note: The location you should choose for storing the file is /opt.
//py ub 1 image
Step 3: Go to the bin subdirectory
Step 4: Run PyCharm.sh
//py ub 2 and 3 image
Step 5: To get started, perform the first-run of PyCharm on your Linux operating system
Interested in learning Python? Check out this Python Training in Sydney!
PyCharm Installation on Ubuntu
If you are having Ubuntu in your system, then follow the below steps for PyCharm installation:
Steps to Install PyCharm on Ubuntu
Step 1: First, install the Snap package management by running the below command:
sudo snap install pycharm-community --classic
Step 2: After installing Snap, you need to install PyCharm
- Use the below command for installing the Community version:
sudo snap install pycharm-community --classic
- For the Professional version, use the below command:
sudo snap install pycharm-professional --classic
Note: You can also use Ubuntu Software Center for installing PyCharm. You just need to search PyCharm and install the version by selecting it.
Step 3: Once you initiate the installation process as mentioned above, the installation of the selected version will start.
Step 4: After the installation is complete, you are ready to use PyCharm in your Ubuntu system.
Learn Python by taking up this online Python Course in Toronto!
PyCharm Installation on MacOS
PyCharm code editor is a multi-platform development environment available for various operating systems. It is available for various operating systems such as Windows, Linux, Ubuntu, and MacOS. In this section, we will see the PyCharm installation on MacOS.
Steps for PyCharm Installation on MacOS
Step 1: Download PyCharm from the official website of JetBrains
Step 2: Mount the downloaded file to the volumes directory using the following command:
$ hdiutil mount Downloads/pycharm-community-2017.3.1.dmg
Step 3: To initiate PyCharm installation, write the below command:
$sudo /Volumes/PyCharm\ CE/PyCharm\ CE.app/Contents/MacOS/pycharm
- Select the custom location as /Applications
Step 4: After that, you will get an option to select a UI theme. Select it and click on Next
Step 5: After selecting the UI theme, set the path
Step 6: Now, you can add featured plugins for your editor. After this step, press on Start using PyCharm to get started with PyCharm
Now, as you have completed the PyCharm installation, you can create a project and start using PyCharm. Wish you luck!
In this module of PyCharm tutorial, we have seen how to install PyCharm in Windows, Linux, Ubuntu, and MacOS. In the next module of this tutorial, we will learn how to configure PyCharm.