Closed crbinz closed 5 years ago
So this is the informative part:
ImportError("cannot import name 'is_string_like'",)
File "C:\Users\cbinz\.julia\conda\3\lib\site-packages\matplotlib\__init__.py", line 122, in <module>
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
is_string_like
is deprecated at matplotlib 2.1 https://github.com/matplotlib/matplotlib/pull/8011 and (I guess) removed at 3.0.
The scenario I can imagine that this error can happen is that matplotlib 3.x is installed first and then it is downgraded to 2.x for some other packages while conda
failed to cleanup Python's compile cache. (Although it's not clear why the old cache is not recompiled...)
I think you can check matplotlib version by Conda.version("matplotlib")
which may give us some hint.
If it was about Python's unclean cache, maybe you can fix it by: Conda.rm("matplotlib")
, remove (or move to somewhere else) C:\Users\cbinz\.julia\conda\3\lib\site-packages\matplotlib
if it still exists, and then Conda.add("matplotlib")
.
Conda.version("matplotlib")
gave v2.0.0, by the way. Following the rest of your instructions to remove matplotlib
fixed things for me, thank you.
I try the suggestion to use
Conda
to install matplotlib, but it just gives the same message as above (# All requested packages already installed.
).PyPlot v2.6.3
is installed.