我已安装Ubuntu 8.10。我正在使用Python 2.6.4。我已安装以下软件包:
networkx 1.0rc1 matplotlib 0.99.1.2 scipy 0.7.1 numpy 1.3
当我在代码中写下以下语句时
import pylab
此语句会导致分段错误。
import matplotlib.pyplot as plt
我遇到了段错误。该怎么办? 同样的代码在我的Windows机器上能运行得很好。
我已安装Ubuntu 8.10。我正在使用Python 2.6.4。我已安装以下软件包:
networkx 1.0rc1 matplotlib 0.99.1.2 scipy 0.7.1 numpy 1.3
当我在代码中写下以下语句时
import pylab
此语句会导致分段错误。
import matplotlib.pyplot as plt
我遇到了段错误。该怎么办? 同样的代码在我的Windows机器上能运行得很好。