Does anyone have any ideas as to what I'm doing wrong. Please note I am totally and completely new to Python programming.
import matplotlib.pyplot
plt.plot([1,2,3,4],[4,7,8,12] )
plt.ylabel('some numbers')
plt.show()
Traceback (most recent call last):
File "C:\Python27\test.py", line 2, in <module>
import matplotlib.pyplot
File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 29, in <module>
from matplotlib.figure import Figure, figaspect
File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 36, in <module>
from matplotlib.axes import Axes, SubplotBase, subplot_class_factory
File "C:\Python27\lib\site-packages\matplotlib\axes\__init__.py", line 4, in <module>
from ._subplots import *
File "C:\Python27\lib\site-packages\matplotlib\axes\_subplots.py", line 10, in <module>
from matplotlib.axes._axes import Axes
File "C:\Python27\lib\site-packages\matplotlib\axes\_axes.py", line 18, in <module>
from matplotlib.cbook import _string_to_bool, mplDeprecation
ImportError: cannot import name _string_to_bool