我尝试使用命令将 yfinance 安装到 anaconda 中: conda install -c anaconda yfinance
错误消息显示:警告:conda.compat 模块已弃用,将在未来版本中删除。收集包元数据:完成解决环境:失败
PackagesNotFoundError:当前频道不提供以下软件包:
- yfinance
当前频道:
- https://conda.anaconda.org/anaconda/win-64
- https://conda.anaconda.org/anaconda/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
要搜索可能提供您正在寻找的 conda 包的替代频道,请导航至
https://anaconda.org
并使用页面顶部的搜索栏。
我也使用过: conda config --append channels conda-forge
没有什么变化
conda install -c anaconda yfinance conda config --append channels conda-forge