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:
conda install seaborn
but it downloaded version 0.8.1.
I therefore installed the version that I want using pip:
pip3 install seaborn==0.9.0
but I keep getting the same error whenever I run my code: AttributeError: module 'seaborn' has no attribute 'catplot' (attribute that is only available in the latest version).
Can anyone please assist with this?
11.2 (August 2021)
You can also use pip from within the conda environment in use. 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 .
Check seaborn Version Windows To check which version of seaborn is installed, use pip show seaborn or pip3 show seaborn in your Windows CMD, command line, or PowerShell.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With