社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Python

在anaconda python上导入scipy时发生FileNotFoundError

TAN YONG SHENG • 3 年前 • 1599 次点击  

操作系统:Windows 10 Home Python解释器:带Python 3.8.8的Anaconda

我已经使用“conda安装”在anaconda上安装了scipy模块 scipy==1.6.2“并声明”#所有请求的软件包都已安装。“。然而,当我打开python ide并导入scipy时,出现了以下错误。

我试图解决的方法是重新安装scipy模块和“conda update--all”。然而,这些都失败了。任何解决这个问题的方法。提前谢谢。

import scipy

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\tys\.conda\envs\renv\lib\site-packages\scipy\__init__.py", line 130, in <module>
    from . import _distributor_init
  File "C:\Users\tys\.conda\envs\renv\lib\site-packages\scipy\_distributor_init.py", line 59, in <module>
    WinDLL(os.path.abspath(filename))
  File "C:\Users\tys\.conda\envs\renv\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\tys\.conda\envs\renv\lib\site-packages\scipy\.libs\libbanded5x.3OIBJ6VWWPY6GDLEMSTXSIPCHHWASXGT.gfortran-win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/130836
 
1599 次点击  
文章 [ 1 ]  |  最新文章 3 年前
Anthony
Reply   •   1 楼
Anthony    3 年前

你应该试试这里给出的解决方案( https://github.com/pytroll/satpy/issues/1835 ):

conda install -c defaults scipy

这对我很管用。