美文网首页数字货币量化交易
Python AttributeError: module 'm

Python AttributeError: module 'm

作者: 51bitquant | 来源:发表于2019-09-23 14:26 被阅读0次
     File "/Users/me/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 2355, in <module>
        switch_backend(rcParams["backend"])
      File "/Users/me/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 221, in switch_backend
        backend_mod = importlib.import_module(backend_name)
      File "/Users/me/anaconda3/lib/python3.7/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "/Applications/PyCharm.app/Contents/helpers/pycharm_matplotlib_backend/backend_interagg.py", line 17, in <module>
        verbose = matplotlib.verbose
    AttributeError: module 'matplotlib' has no attribute 'verbose'
    
    

    如果你遇到这样的问题,是因为你的PyCharm画图设置导致的问题,你只需要在Preference的Tools修改Python Scientific绘图设置就可以了。

    image.png

    相关文章

      网友评论

        本文标题:Python AttributeError: module 'm

        本文链接:https://www.haomeiwen.com/subject/nmnxdctx.html