matplotlib和Anaconda问题

时间:2018-12-07 20:47:32

标签: python matplotlib anaconda

我卸载了matplotlib,但是现在对于不管命令,无论我是否尝试在与matplotlib相关的终端上运行,我都会收到以下消息。我该怎么解决?

/anaconda3/lib/python3.6/site-packages/matplotlib-2.2.2-py3.6-nspkg.pth的错误处理第1行:

Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/site.py", line 168, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 568, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'

1 个答案:

答案 0 :(得分:0)

如果您已经卸载了matplotlib,则可以安全地删除~thread() _NOEXCEPT { if (joinable()) _XSTD terminate(); //<-- thread t1 will be calling this method } 文件,该问题将消失。