Matplotlib: Nose, Tornado

maggie_b picture maggie_b · Apr 8, 2018 · Viewed 58.3k times · Source

Because I'm trying to install jupyter on my mac, I upgrated my pip. It showed me everything is all right, but then I noticed this:

    Requirement already up-to-date: pip in /Library/Python/2.7/site-packages/pip-10.0.0b2-py2.7.egg (10.0.0b2)
     matplotlib 1.3.1 requires nose, which is not installed.
     matplotlib 1.3.1 requires tornado, which is not installed.
     matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.

What does this mean? Will my matplotlib work normally even if I don't have numphy>=1.5?

I tried fixing it like suggested matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible but it doesn't work:

sudo -H pip install numphy

Password:
Requirement already satisfied: numphy in /Library/Python/2.7/site-packages (0.0.1)
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.

Answer

Olalekan Sogunle picture Olalekan Sogunle · Apr 12, 2018

I got the same issue. You have to install the said dependencies. Which are nose, tornado, and numpy version greater than 1.5 Do the following

sudo easy_install nose
sudo easy_install tornado

As for the last part regarding numpy version greater than 1.5 you have to get the latest version of python. Refer to here