1. 首页
  2. IT资讯

python 无法使用numpy

环境: 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/,如需转载,请注明出处,否则将追究法律责任。

主题测试文章,只做测试使用。发布者:布吉卡,转转请注明出处:http://www.cxybcw.com/193325.html

联系我们

13687733322

在线咨询:点击这里给我发消息

邮件:1877088071@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

QR code