How to setup JetBrain’s PyCharm for ML tutorial series

Rajesh Hadiya
Noob Devs
Published in
2 min readJul 8, 2019

In this tutorial, i’ll explain how to setup JetBrain’s PyCharm (Community Edition) IDE to use in our Machine Learning series tutorials.

  1. First, download PyCharm from their offficial site : https://www.jetbrains.com/pycharm/
  2. Install and open it.
  3. Click on Create New Project as shown in below image.

4. In next screen, click on Project Interpreter: New Virtualenv environment, so it will be expanded like below image. Now create a new directory anywhere (for creating virtual env) and select it as Location under New environment using radio box . Also tick Make available to all projects (for downloading packages only one time and using it in all projects). And click on Create button.

5. Once IDE is loaded, go to File->Settings-> Project: {Project_Name}->Project Interpreter. It will show all external packages available to your project. (For new project, this section might be empty).

6. Now click on + icon shown in right side. It will open new windows for downloading new packages. Search for numpy and click on Install Package button as shown in below image. It will take some time to install.

7. Similarly, install below mentioned packages :

pandas, seaborn, matplotlib, sklearn.

8. Now we have to verify that this packages are available for use in our project. Create a new python file and write below lines of code :

import pandas as pd
import numpy as np
import seaborn as seaBorn
import matplotlib.pyplot as plot
import sklearn as skl

9. If this code works without any error, then you have successfully completed the setup of PyCharm for ML tutorials.

Now, please head over to our ML tutorials to learn and implement various ML algorithms here.

--

--

Rajesh Hadiya
Noob Devs

Founder of MyStore | Talks about Kotlin, Android and Spring Boot