Search code examples
pythonpython-3.xpip

python mpl_toolkits installation issue


After command pip install mpl_toolkits I receive next error:

Could not find a version that satisfies the requirement mpl_toolkits (from versions: )

No matching distribution found for mpl_toolkits

I tried to google, but nothing helps. How can I solve this?


Solution

  • It is not on PyPI and you should not be installing it via pip. If you have matplotlib installed, you should be able to import mpl_toolkits directly:

    $ pip install --upgrade matplotlib
    ...
    
    $ python
    >>> import mpl_toolkits
    >>>