ImportError: matplotlib requires dateutil; import matplotlib.pyplot as plt
Question: Am new to progamming and Python, i keep getting the error below when i run my
program. Someone advised i should use pip to solve it. But cant pip get
installed using the cmd. Though i suceeded using Powershell but still cant
make it work. How do i solve this, any tips will go along way. Thanks

    
    
    Traceback (most recent call last):
      File "<pyshell#0>", line 1, in <module>
        from satmc import satmc
      File "C:\Python27\starb_models_grid1\satmc.py", line 3, in <module>
        import matplotlib.pyplot as plt
      File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 110, in <module>
        raise ImportError("matplotlib requires dateutil")
    ImportError: matplotlib requires dateutil
    

Am using version 2.7.3


Answer: You need to install various packages to get `numpy` working correctly.

  1. libsvm-3.17.win32-py2.7
  2. pyparsing-2.0.1.win32-py2.7
  3. python-dateutil-2.2.win32-py2.7
  4. pytz-2013.9.win32-py2.7
  5. six-1.5.2.win32-py2.7
  6. scipy-0.13.3.win32-py2.7
  7. numpy-MKL-1.8.0.win32-py2.7
  8. Matplotlib

Download all the binaries from this
[link](http://www.lfd.uci.edu/~gohlke/pythonlibs/) and install and then you
will have a working numpy installation.

