我是一個(gè)業(yè)余程序員。我正在嘗試使用:import thinkdsp as dspimport thinkplot as plt我已經(jīng)安裝了該pip install thinkx模塊,但我一直收到該錯(cuò)誤,我不明白為什么。我將在下面保留控制臺顯示的內(nèi)容:Traceback (most recent call last): File "Karaokemaker1.py", line 1, in <module> import thinkdsp as dsp File "C:\Users\keigo\anaconda3\lib\site-packages\thinkdsp.py", line 17, in <module> import scipy.stats File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\stats\__init__.py", line 384, in <module> from .stats import * File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\stats\stats.py", line 185, in <module> from . import distributions File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\stats\distributions.py", line 10, in <module> from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous, File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\stats\_distn_infrastructure.py", line 25, in <module> from scipy import optimize File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\optimize\__init__.py", line 390, in <module> from ._minimize import * File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\optimize\_minimize.py", line 30, in <module> from ._trustregion_constr import _minimize_trustregion_constr File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\__init__.py", line 4, in <module> from .minimize_trustregion_constr import _minimize_trustregion_constr File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\minimize_trustregion_constr.py", line 4, in <module> from scipy.sparse.linalg import LinearOperator File "C:\Users\keigo\anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 116, in <module> from .eigen import *我認(rèn)為問題出在scipy因?yàn)橐韵滤绣e(cuò)誤都來自該模塊。我檢查了一下,我已經(jīng)為scipy模塊正確安裝了所有東西。請幫忙!謝謝你!
ImportError:DLL 加載失?。赫也坏街付ǖ倪^程。
慕田峪7331174
2023-05-23 10:52:13