基本上,每当我启动python脚本时,即使我不在脚本中使用matplotlib,我也会看到此错误。我该如何解决?
我尝试卸载并重新安装matplotlib,但没有帮助。
Matplotlib support in debugger failed
Traceback (most recent call last):
File "c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 1644, in run
self.init_matplotlib_support()
File "c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 927, in init_matplotlib_support
from pydev_ipython.matplotlibtools import activate_matplotlib, activate_pylab, activate_pyplot, do_enable_gui
ModuleNotFoundError: No module named 'pydev_ipython.matplotlibtools'