In this article, we are going to learn how to Install Seaborn in Anaconda Python. We will learn about how to install seaborn using anaconda commands.
How to install seaborn using conda
We can use the below steps to install seaborn. Installing Seaborn is very easy and you can do that by using the below steps:
- Open the Anaconda Power Shell Prompt.
- Type the command as given below and press enters to start the installation. This will install the latest version on seaborn on the machine.
conda install seaborn or conda install -c anaconda seaborn
If you have a specific version requirement then you can install that version by specifying the version.For this you must know which version of seaborn you want to install. The pip command to install a specific version of seaborn is:
conda install seaborn==0.9.0
How to check seaborn is installed successfully Using Anaconda
After you install the seaborn by using the above conda command, you can verify the installation with the below steps:
- Open the Anaconda Power Shell Prompt
- Launch Python
- Try to import the seaborn in Python by typing
import seaborn as sb
If you have the installation done successfully then you should not see any error. Next you can verify the version by writing the next line:
This should give you the version of seaborn that you just installed on your machine.