我有一个jupyter笔记本运行在远程集群上,我已经建立了一个ssh隧道。一切都很好,直到今天。现在,每次我这样做:导入matplotlib.pyplot jupyter笔记本崩溃
import matplotlib # This works
%matplotlib inline # This causes kernel to restart
import matplotlib.pyplot # This also causes the kernel to restart
运行一个独立的IPython的解释和做:
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot ## Leads to Core dumped : Segementation Fault
运行相同的上一个Python解释器工作正常。
Jupyter版本:4.1.1 Python版本:2.7.7
任何帮助将非常感激。
谢谢