【大数据风控】解决Python conda install 导入toad和scorecard的报错

【大数据风控】解决Python conda install 导入toad和scorecard的报错,第1张

第一步:使用cmd下载toad包和scorecard包;

出现如下提示:
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:

  • scorecardpy
    Current channels:
  • https://conda.anaconda.org/conda-forge/win-64
  • https://conda.anaconda.org/conda-forge/noarch
  • https://repo.anaconda.com/pkgs/main/win-64
  • https://repo.anaconda.com/pkgs/main/noarch
  • https://repo.anaconda.com/pkgs/r/win-64
  • https://repo.anaconda.com/pkgs/r/noarch
  • https://repo.anaconda.com/pkgs/msys2/win-64
  • https://repo.anaconda.com/pkgs/msys2/noarch
    To search for alternate channels that may provide the conda package you’re
    looking for, navigate to
    https://anaconda.org
    and use the search bar at the top of the page.
第二步:解决方案

conda update --all

conda config --add channels conda-forge

conda config --set channel_priority flexible

conda update --all

第三步:正常导入

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/873554.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-13
下一篇2022-05-13

发表评论

登录后才能评论

评论列表(0条)

    保存