How To Install Seaborn In Pycharm?
Last Updated :
24 Apr, 2025
Seaborn is a popular Python data visualization library that is based on the Matplotlib library. You can create informative designs and attractive statistical graphics. Data analysts and scientists can more easily display their data with Seaborn high-level interface. They can easily construct different kinds of statistical charts, which helps them obtain insights.
Installing Seaborn on PyCharm
There are two common ways to set up seaborn on PyCharm in Python. You can use the terminal or install it using the Graphical User Interface of PyCharm. Either way, it is going to be a simple and quick process to follow. So, let's get started.
Below are the two ways to set up Seaborn on PyCharm:
- Using Terminal
- Using Graphical User Interface
Steps to Install Seaborn Using Terminal
It is simple and quick to install seaborn through the terminal.
Step 1: Open Pycharm
Let’s begin by opening the PyCharm IDE on our computer. If you haven’t already installed PyCharm, you can download and install it from the official JetBrains website.
Step 2: Create or Open a Python Project
You can either create a new Pycharm project or open an existing one. In case, if you're creating a new project, you can follow these steps:
- Go to File > New Project in the top menu.
- Choose "Pure Python" or select an appropriate template.
- Configure your project settings and choose a location to save it.
- Select the Python interpreter you want to use for your project. If you haven't set up an interpreter, click on the gear icon and choose "Add...". You can select an existing interpreter or create a new virtual environment.
Step 3: Open the Terminal
Once you have opened a Python project in PyCharm, you will need to access the terminal to run the installation command. The terminal is present at the bottom of the PyCharm IDE.
.jpg)
Step 4: Install Seaborn
Now that we have our terminal open, we can use the ‘pip’ command to install seaborn. Simply write the following command in your terminal and then press Enter.
pip install seaborn
Here, the ‘pip’ command tells the Python Package Manager to download and install Seaborn and its dependencies.

Setup Seaborn on PyCharm Using Graphical User Interface
This method provides a more visual and integrated way to manage packages within PyCharm. Moreover, it's useful when you want to manage package installations directly from the IDE's interface. Steps are given below:
Step 1: Open PyCharm
Open PyCharm IDE on your computer and make sure that you have a Python project opened. You can even create a new ‘test’ project if needed.
Step 2: Access the Package Manager
In PyCharm, you can manage packages by going to File > Settings (or PyCharm > Preferences on macOS).

Step 3: Install Seaborn via PyCharm's Package Manager
- In the Settings/Preferences window, navigate to Project: YourProjectName > Python Interpreter.
- You will see a list of installed packages on the right side of the window. To add a new package, click the "+" (plus) button.
- In the "Available Packages" window that opens, search for "seaborn" in the search bar.
- Select the Seaborn package from the list by clicking on it.
- Click the "Install Package" button at the bottom of the pop-up.
Thus, PyCharm will download and install Seaborn along with its dependencies.

Verify Installation
In order to ensure that Seaborn has been successfully installed, you can create a simple Python script to test it. You can follow these steps to make sure its installed:
- Right-click on your project in the project explorer
- Selecting New > Python File to create a new Python file in your PyCharm project
- Give a proper name to your file (eg. seaborn_test.py).
- Open the seaborn_test.py file and add the following code:
Python3
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="whitegrid")
tips = sns.load_dataset("tips")
sns.boxplot(x="day", y="total_bill", data=tips)
plt.show()
This code imports Seaborn and Matplotlib, creates a simple Seaborn plot, and displays it using Matplotlib.
- Save the file by pressing Ctrl + S (or Cmd + S on macOS).
- Right-click on the seaborn_test.py file in the project explorer
- Select Run 'seaborn_test'. This will execute the script.
If everything is set up correctly, you should see a boxplot chart displayed within the PyCharm IDE, indicating that Seaborn has been successfully installed and is working in your Python environment.

Similar Reads
How to Install Seaborn in Kaggle
Seaborn is a powerful Python data visualization library based on Matplotlib. It provides a high level interface for creating visually appealing and informative statistical plots. Kaggle, a popular data science platform, often comes pre-configured with Seaborn. However, if we need to install or upgra
2 min read
How to Install PyCharm in Ubuntu
PyCharm is one of the most popular Python-IDE used for performing scripting and executing Python programs. It supports a wide range of frameworks and has a lot of useful features like Code Completion and inspection, debugging process, and support for various programming frameworks such as Flask and
2 min read
How to install PyCharm in Windows?
PyCharm is the Python development IDE developed by JetBrains. They have developed professional and free community versions of this tool. The first professional version of the tool is paid and available as a trial for 30 days. However, in this article, we will look into the process of downloading the
2 min read
How to install NumPy in PyCharm?
In this article, we will cover how to install the Python NumPy package in PyCharm. NumPy is a general-purpose array-processing Python package. It provides a high-performance multidimensional array object, and tools for working with these arrays. As one of the most important tool while working with d
3 min read
How to Install Seaborn on MacOS?
In this article, we will learn how to install seaborn in Python on MacOS. Seaborn is a library for making statistical graphics in Python. It is built on top of matplotlib and is closely integrated with pandas data structures. Installation:Method 1: Using pip to install Seaborn Package Follow the bel
2 min read
How to Install Seaborn on Linux?
Seaborn is a library mostly used for statistical plotting in Python. It is built on top of Matplotlib and provides beautiful default styles and color palettes to make statistical plots more attractive. Seaborn Dependencies: Seaborn has the following dependencies: Python 3.4+numpyscipypandasmatplotli
2 min read
How to Install Sklearn in Colab
Google Colab is a cloud-based Jupyter notebook environment that allows you to write and execute Python code in the browser with zero configuration required. It offers free access to computing resources, including GPUs and TPUs, making it an excellent platform for machine learning and data science pr
3 min read
How to Install Statsmodels in Python?
Statsmodels is a Python library that enables us to estimate and analyze various statistical models. It is built on numeric and scientific libraries like NumPy and SciPy. It provides classes & functions for the estimation of many different statistical models.Before installing Statsmodels, ensure
2 min read
How to Install Seaborn on Windows?
In this article, we will look into the process of installing Python Seaborn on Windows. Prerequisites:PythonPIP or conda (Depending upon user preference)For PIP Users: PIP users can open up the command prompt and run the below command to install Python Seaborn Package on Windows: pip install Seaborn
1 min read
How to Install Python Pycharm on Linux?
To run Python programs, we need an interpreter. While online tools are available, offline interpreters are better for serious development.PyCharm, developed by JetBrains, is one of the most widely used Python IDEs. It offers:Smart code completion and inspectionPowerful debugging toolsSupport for fra
2 min read