This thing was working a couple of weeks ago, now it's got some module dependency error ... my path is the same, my Python is the same ... or is it ? How do I know ? Where should I look ?
< ... some call stack ... >
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 17, in <module>
from matplotlib.cbook import _string_to_bool, mplDeprecation
ImportError: cannot import name _string_to_bool
FYI, I do have the six
module installed in the right place (C:\Python27\lib\site-packages
), as shown by the fact that the command
pip install six
returns
Requirement already satisfied (use --upgrade to upgrade): six in c:\python27\lib\site-packages