我有一個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
任何幫助將非常感激。
謝謝