Skip to content Skip to sidebar Skip to footer

How To Install The Latest Version Of Seaborn

I want to create a catplot using seaborn package and I know that in order to be able to do that I need the latest version of seaborn(0.9.0). I installed the package for conda using

Solution 1:

Apparently conda has not yet integrated seaborn 0.9.0 into it's default channel. You may still try to get it through conda-forge

conda install -c conda-forge seaborn 

You can also use pip from within the conda environment in use.

> activate
(base) > python -mpip install seaborn==0.9.0

Current versions of the Anaconda distribution already have seaborn installed, so conda update seaborn will update the package to the currently available version on the default / available conda channel. All packages can be updated with conda update --all.

conda update --name env seaborn will update a specific environment, env in this case.

conda install --name env seaborn will install to a specific environment.

conda update --name env --all will update seaborn and all other packages.

It is not recommended to use pip to install packages that already exist within the conda environment.

Solution 2:

I was having seaborn 0.8.0. This worked for me.

sudo -H pip install seaborn==0.9.0

Solution 3:

This worked for me:

conda install -c anaconda seaborn

Credit: https://anaconda.org/anaconda/seaborn

Solution 4:

If you are going for developmental features of seaborn, try installing direct.

pip install git+https://github.com/mwaskom/seaborn.git#egg=seaborn

Solution 5:

After you install a new version restart your Kernel and run your script again.

Post a Comment for "How To Install The Latest Version Of Seaborn"