Python 无法在jupyter中导入名称cbook
我已安装matplotlib-2.2.3。当我在jupyter中使用matplotlib时,它抛出以下错误: ImportError:无法在jupyter中导入名称cbook 当我在PyCharm中运行代码时,一切正常。我使用了Python2.7,在中尝试了许多类似的建议,但都没有奏效 我终于找到了将matplotlib和six降级的解决方案,解决了我的问题Python 无法在jupyter中导入名称cbook,python,matplotlib,importerror,Python,Matplotlib,Importerror,我已安装matplotlib-2.2.3。当我在jupyter中使用matplotlib时,它抛出以下错误: ImportError:无法在jupyter中导入名称cbook 当我在PyCharm中运行代码时,一切正常。我使用了Python2.7,在中尝试了许多类似的建议,但都没有奏效 我终于找到了将matplotlib和six降级的解决方案,解决了我的问题 pip install six==1.10.0 pip install matplotlib==2.0.2 应该有用。
pip install six==1.10.0
pip install matplotlib==2.0.2
应该有用。