Installing matplotlib

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tell tsi
    New Member
    • Mar 2012
    • 1

    Installing matplotlib

    I am trying to get matplotlib to work on my laptop
    Windows 7, i3 processor,
    I have installed python 2.7
    I have also installed matplotlib using the windows binary installer from Source forge download.

    I have also downloaded numpy 1.6.1 and run the setup program.

    In my Matplotlibrc file and changed the "Interactiv e : True"

    But when I open the python 2.7 (command line) and type in the following I get the following output.

    does anyone have the step by step instruction on how to install and run the software?

    --------------------------------------------------


    >>> import matplotlib (

    Traceback (most recent call last):
    File "<pyshell#1 >", line 1, in <module>
    import matplotlib
    File "C:\Python27\li b\site-packages\matplo tlib\__init__.p y", line 133, in <module>
    from matplotlib.rcse tup import (defaultParams,
    File "C:\Python27\li b\site-packages\matplo tlib\rcsetup.py ", line 19, in <module>
    from matplotlib.colo rs import is_color_like
    File "C:\Python27\li b\site-packages\matplo tlib\colors.py" , line 52, in <module>
    import numpy as np
    ImportError: No module named numpy

    ---------------------------------------------------------
  • Smygis
    New Member
    • Jun 2007
    • 126

    #2
    well it seems as if it can not find numpy. Try reinstalling it and make sure it all ends up in the correct place.

    Comment

    • dwblas
      Recognized Expert Contributor
      • May 2008
      • 626

      #3
      I have installed python 2.7
      Do you also have Python2.6 installed. If you have more than one version of Python installed, you have to use the version that these packages installed to.

      Comment

      Working...