Matplotlib: Nose, Tornado

PythonMatplotlibPipJupyter

Python Problem Overview


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 https://stackoverflow.com/questions/49670554/matplotlib-1-3-1-has-requirement-numpy-1-5-but-youll-have-numpy-1-8-0rc1-whic 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.

Python Solutions


Solution 1 - Python

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

Solution 2 - Python

After some searching I found a way to install the packages without checking the current version, for example, for installing matplotlib:

sudo -H pip install --ignore-installed matplotlib

I am not sure if there is a better way, but at lease it let me keep working. I hope it helps

Solution 3 - Python

I was having the nose and the tornado issues on OSX (High Sierra) when I was attempting to install awscli. I got nose and tornado installed with pip itself:

pip install tornado nose --user

Afterwards, the awscli install went smoothly

pip install awscli --user

Solution 4 - Python

Simply try this command if you have pip installed -

pip3 install pandas --user

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionmaggie_bView Question on Stackoverflow
Solution 1 - PythonOlalekan SogunleView Answer on Stackoverflow
Solution 2 - PythonSnake SandersView Answer on Stackoverflow
Solution 3 - PythonLucio MollinedoView Answer on Stackoverflow
Solution 4 - PythonKrish MunotView Answer on Stackoverflow