matplotlib 3.0.0, cannot import name 'get_backend' from 'matplotlib'

后端 未结 3 1784
面向向阳花
面向向阳花 2020-12-03 21:08

Using Windows 10, anaconda as a package manager. I have a base environment running python 3.7 where matplotlib works fine. When I create a new environment and install both k

相关标签:
3条回答
  • 2020-12-03 21:45

    Try this:

    pip uninstall matplotlib
    python -m pip install --upgrade pip
    pip install matplotlib
    

    Worked perfectly for me

    0 讨论(0)
  • 2020-12-03 21:55
    pip uninstall matplotlib
    pip install --upgrade matplotlib
    

    works perfectly!

    0 讨论(0)
  • 2020-12-03 22:07

    This issue has been reported here and has been fixed here. The fix will be available in matplotlib 3.0.1, which is scheduled to be release within the next few days.

    Until then you may either use python <= 3.6.6 with matplotlib 3.0.0. Or you may use matplotlib 2.2.3 or you may try the fix proposed in the linked issue, namely to create a matplotlibrc file in one of the paths where matplotlib would find it.

    0 讨论(0)
提交回复
热议问题