Anaconda Install Matplotlib: Fix UnsatisefiableError (A Completed Guide) – Matplotlib Tutorial

By | November 29, 2019

Anaconda installs python matplotlib is very easy, however, you may also encounter some errors like unsatisefiable error. In this tutorial, we will discuss how to install matplotlib using anaconda and fix unsatisefiable error.

Activate your python environment

Before you start to install matplotlib, you should activate your python environment. As to us, the name of python environment is py3, we will activate it by:

activate py3

Anaconda install matplotlib

You can use conda command to install this python library.

conda -c conda-forge matplotlib

We can install python matplotlib by conda installl command generally, however, we also may get some errors. As to us, we get a UnsatisfiableError.

conda install matplotlib UnsatisfiableError

How to fix anaconda UnsatisfiableError?

We find python tk library is incompatible with matplotlib, so we will remove it.

conda remove tk

Then we will installl matplotlib again with conda install command.

conda install -c conda-forge matplotlib

Then we will get result like:

conda install matplotlib

Press y, you will install matplotlib successfully.

Leave a Reply