问题描述
亲爱的团队,
我在Python中编写代码,我在Excel中创建报告,在Python中编写代码,我必须包含图形。
我将使用matplotlib,因为我正在添加numpy。我已经安装了numpy但我无法加载(导入)相同。
Python 2.7.3
Windows 7,32位
错误:
Dear Team,
I am writing code in Python , I creating report in excel file by writing code in Python where I have to include graph.
I will be using matplotlib , for the same I am adding numpy. i have installed numpy but I am not able to load(import) the same.
Python 2.7.3
Windows 7 , 32 bits
Errors :
import numpy
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import numpy
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\__init__.py", line 137, in <module>
import add_newdocs
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\lib\__init__.py", line 13, in <module>
from polynomial import *
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\lib\polynomial.py", line 17, in <module>
from numpy.linalg import eigvals, lstsq
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\linalg\__init__.py", line 48, in <module>
from linalg import *
File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\numpy\linalg\linalg.py", line 23, in <module>
from numpy.linalg import lapack_lite
ImportError: DLL load failed: The specified module could not be found.
有没有人知道出了什么问题?
谢谢&问候
Prajyot K
[电子邮件地址已删除(绝不发布您的电子邮件地址,除非您喜欢垃圾邮件!)]
Does anybody have a clue as to what has gone wrong?
Thanks & Regards
Prajyot K
[Email address removed (never post your email address, unless you like spam!)]
推荐答案
这篇关于Python numpy导入错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!