windows10 安装 pycocotools 的正确方法
安装 Cython
首先安装 Cython ,命令如下:
pip install Cython安装 pycocotools 的错误方式
你使用以下命令安装必定失败:
# 错误的方式 不要使用 pip install -U pycocotools因为 Windows10 没有编译环境,而且根本也不支持在 Windows10 下进行编译。即使你按照提示去安装 C++ 环境都不行。
安装 pycocotools 的正确方式
正确的安装方式是下面这个命令:
pip install git+https:///philferriere/cocoapi.git#subdirectory=PythonAPIgithub 无响应的问题
大部分是网络原因。我这里有一个变通的方法,使用码云将 cocoapi 同步到码云上然后安装就行了。只需要将上面的地址换成码云的地址就行了:
pip install git+https://gitee.com/felord/cocoapi.git#subdirectory=PythonAPI成功解决,希望能帮助你,请多多关注。
windows10 安装 pycocotools 的正确方法jellyfin windows 安装
windows10安装pycharm配置python pycharm win10安装
Windows 10 搭建Python开发环境(PyCharm )pycharm是python的集成开发环境
基于Windows 10下的PyCharm 安装教程详解pycharm community安装教程
Windows docker安装Sqlserver docker安装sqlserver2012
The Best OS X Git Client: Effortless Tools for Smoother Mac Coding