gpt4 book ai didi

python - FileNotFoundError : Could not find module when using jupyter notebook

转载 作者:行者123 更新时间:2023-12-03 17:09:02 26 4
gpt4 key购买 nike

当我尝试使用jupyter笔记本时,出现以下错误消息:

---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-2-8ec26a89e3fd> in <module>
4 import matplotlib
5 import matplotlib.pyplot as plt
----> 6 from scipy.io import loadmat
7 import time
8 import sys

D:\Anaconda3\lib\site-packages\scipy\__init__.py in <module>
128
129 # Allow distributors to run custom init code
--> 130 from . import _distributor_init
131
132 from scipy._lib import _pep440

D:\Anaconda3\lib\site-packages\scipy\_distributor_init.py in <module>
57 os.chdir(libs_path)
58 for filename in glob.glob(os.path.join(libs_path, '*dll')):
---> 59 WinDLL(os.path.abspath(filename))
60 finally:
61 os.chdir(owd)

D:\Anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error, winmode)
371
372 if handle is None:
--> 373 self._handle = _dlopen(self._name, mode)
374 else:
375 self._handle = handle

FileNotFoundError: Could not find module 'D:\Anaconda3\lib\site-packages\scipy\.libs\libbanded5x.EHDKC2XVYTQQ5MALRS6XN2CUSS6SRL6P.gfortran-win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
但是我确定该文件就在该文件夹中。谁能帮我?

最佳答案

尝试导入sklearn时发生相同的问题。
我的scipy版本是1.6.3,我通过将scipy降级为1.6.2解决了这个问题。

关于python - FileNotFoundError : Could not find module when using jupyter notebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67377972/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com