运行需要matplotlib的python脚本给出:ImportError:undefined symbol:__ libm_sse2_sincos

时间:2015-06-17 15:11:05

标签: python numpy matplotlib scipy intel

我正在尝试运行的特定包是fastStructure。在安装了所有需求(numpy,scipy,cython,gsl,matplotlib)之后,当我尝试执行脚本时,我收到以下错误:

python distruct.py
Traceback (most recent call last):
  File "distruct.py", line 2, in <module>
    import matplotlib.pyplot as plot
  File "/data003/GIF/software/packages/python/2.7.9/lib/python2.7/site-packages/matplotlib/pyplot.py", line 24, in <module>
    import matplotlib.colorbar
  File "/data003/GIF/software/packages/python/2.7.9/lib/python2.7/site-packages/matplotlib/colorbar.py", line 27, in <module>
    import matplotlib.artist as martist
  File "/data003/GIF/software/packages/python/2.7.9/lib/python2.7/site-packages/matplotlib/artist.py", line 8, in <module>
    from transforms import Bbox, IdentityTransform, TransformedBbox, \
  File "/data003/GIF/software/packages/python/2.7.9/lib/python2.7/site-packages/matplotlib/transforms.py", line 35, in <module>
    from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: /data003/GIF/software/packages/python/2.7.9/lib/python2.7/site-packages/matplotlib/_path.so: undefined symbol: __libm_sse2_sincos

这是否意味着某些要求未正确安装?或者我错过了一些应该在所有计算机上存在的基本软件包? 如果它有助于我在大型HPC群集上运行RHEL和intel处理器。 我无法找到有关此错误的任何信息,我无法继续前进。任何帮助将不胜感激。

编辑:

具体来说,

   import matplotlib.pyplot as plot

导致此错误。

0 个答案:

没有答案