概要:

  • 由于缺少pycocotools包引发的错误,而pycocotools包需要cython和C编译器,所以在安装cython之前需要先安装Cython。

解决办法:

  • 安装cython
    pip install -U cython
  • Linux安装pycocotools
    pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"
  • Windows安装pycocotools
    pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI"

     

相关文章:

  • 2021-12-10
  • 2021-06-02
  • 2022-12-23
  • 2021-08-15
  • 2021-07-24
  • 2021-09-06
  • 2021-11-26
  • 2021-10-09
猜你喜欢
  • 2021-12-09
  • 2021-06-27
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
相关资源
相似解决方案