python 無法使用numpy

std1984發表於2014-08-01
環境: Ubuntu 12.4

>>> import numpy
Traceback (most recent call last):
  File "", line 1, in
  File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 137, in
    import add_newdocs
  File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in
    from numpy.lib import add_newdoc
  File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 13, in
    from polynomial import *
  File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 11, in
    import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'
>>>


解決方法:   sudo apt-get remove libopenblas-base

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16582684/viewspace-1243980/,如需轉載,請註明出處,否則將追究法律責任。

相關文章