gpt4 book ai didi

pycocotools - 如何通过 Conda 安装 pycocotools

转载 作者:行者123 更新时间:2023-12-03 23:27:42 28 4
gpt4 key购买 nike

  • 环境

  • 操作系统:Windows 7
    Python:Python 3.7.3
    conda : conda 4.8.2
    Step1:从github下载pococtools的源代码,linker Fellowing: https://github.com/philferriere/cocoapi
    Step2:通过运行构建和安装 pococotall 包
    python setup.py build_ext --inplace,

    python setup.py build_ext install
    随后。
  • ModuleNotFoundError:没有名为“Cython”的模块
    enter image description here
    解决方案:点安装 Cython
  • 错误:命令“cl.exe”失败:没有这样的文件或目录
    enter image description here
    解决方案:安装 Visual Studio 2019 并确保安装“使用 c++ 进行桌面开发”环境。

  • 处理完所有问题后,可以运行两个委托(delegate)完成安装。可以运行
    conda list
    然后检查 pycocotools。
    enter image description here
    enter image description here

    最佳答案

    这对我有用:

    pip install pycocotools-windows 

    关于pycocotools - 如何通过 Conda 安装 pycocotools,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60189943/

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