Skip to main content

How to Install PyCharm? (Windows, Mac, Ubuntu)

 



A little introduction

PyCharm is one of the widely used IDE for python programming and used by many programmers these days. It is available in three editions: Professional, Community and Educational (Edu).
We will prefer Edu edition as it is an open source and free to use. Also, it fits our purpose of learning python as a beginner.
If you have already installed pycharm or some other compiler you can skip this and read the tutotrial here>> Let's Get Started with Python

Install PyCharm

You can go to the official page and follow the guide to installation, to go to the official page click here or stick with me and follow the steps below.
This is the direct link to install PyCharm Edu>> click here

Already Installed PyCharm Community or Professional?

Then you just need to install EduTools Plugin. To install the plugin follow these simple steps:
1.       Go to Files>>Settings... or Press Ctrl+Alt+S to open Setting/Preferences dialogue.
2.       Then go to Plugins.
3.       In the search bar above type EduTools and hit enter.
4.       Press Install.
5.       After the installation is complete, click Restart PyCharm.


If you want to update the EduTools Plugin, follow these simple steps:
1.       Go to Files>>Settings... or Press Ctrl+Alt+S to open Setting/Preferences dialogue.
2.       Then go to Plugins.
3.       In the search bar above type EduTools and hit enter.
4.       If the plugin is ready to be updated, you will find a highlighted blue update button below it.
5.       Press Update.
6.       After the update is complete, click Restart PyCharm.

Ubuntu?
Requirements: Ubuntu 16.04 or later
All the Ubuntu users can install PyCharm Edu from the following command line:

 

       
sudo snap install pycharm-educational-classic  


Installation
After the installation is complete you may click the Finish button.

PyCharm enables you to share your settings with your colleagues but for now you can select, Do not import settings.


PyCharm enables you to share your settings with your colleagues but for now you can select, Do not import settings.


Make sure you check the checkbox and continue.


You can select the learner mode and get started.


You must select Create new file, this will create a folder for you and in it you can create new python file by clicking, new from File. Here I’ve created a folder/directory and file with name tutorial00, you can give   it  any name.
You can also create C file  y opting for create new C file.


Open up the terminal tab below and specify its path. Look up for the path of your saved directory and make sure the same path is specified in the terminal tab below.
Type cd\ to change directory and again specify your path using cd, make sure you type the correct path.


Python Interpreter
You also need to specify the python interpreter for your program/project. At the top of your blank file (ignore the code written below) it must be written that No Python interpreter configured for the project and on the right side you have the option to Configure Python Interpreter.


Once you click on Configure Python Interpreter you have the option to select Python Interpreter. According to the convenience of the tutorial you must select Python3.


Then you click on the drop down menu and select the interpreter. If you see no python3 interpreter then you must download it.
To know how to download you must follow the instructions below
Install Python 3.7.2 for windows click here
Install Python3.7 on Linux
The following steps apply to Ubuntu 18.04 and Ubuntu 16.04
Open the command prompt and run

$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa 
Then you must enter to continue
      
Press [ENTER] to continue or Ctrl-c to cancel adding it.
      
Now you can install with the following command
$ sudo apt install python3.7
Once the installation is complete you can verify it with the following command  
$ python3.7 –version
Install Python 3.7 on Mac
You can go the official site download click here
Or you can install it with Homebrew from your terminal
To open your terminal, go to the Applications folder on OS X
Applications>>Utilities>>Terminal
Once your terminal tab is open then you can execute the following command

$ xcode-select –install
/usr/bin/ruby -e "$(curl –fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ brew doctor

Then the following message will appear
Your system is ready to brew.

Now you can install Python3
$ brew install python3
$ python3 --version 
The message will appear with the version of python downloaded.
Now you can go back and change Python Interpreter.

You may follow the next tutorial to begin with python programming>>  Let's Get Started with Python














Comments

Popular posts from this blog

How To Create Super User In Django

  1. Install Python 2. Open Command Prompt 3. Type pip install Django 4. Go to your new folder directory 5. Open powershell or CMD 6. Run django-admin 7. Run django-admin startproject projectname 8. And Its Done Creating an admin user ¶ First we’ll need to create a user who can login to the admin site. Run the following command: $ python manage.py createsuperuser Enter your desired username and press enter. Username: admin You will then be prompted for your desired email address: Email address: admin@example.com The final step is to enter your password. You will be asked to enter your password twice, the second time as a confirmation of the first. Password: ********** Password (again): ********* Superuser created successfully. Start the development server ¶ The Django admin site is activated by default. Let’s start the development server and explore it. Recall from Tutorial 1 that you start the development server like so: $ python manage.py runserver Now, open a Web browser and...