From 1a485e12c94e5f68664914f1fc8a8b0abf10a7ae Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Thu, 30 Apr 2020 19:51:27 +0800 Subject: [PATCH] Remove `pycocotools` from `requirements.txt` (#582) * Remove `pycocotools` from `requirements.txt` git version is required for numpy > 1.18 * Remove `cython`, add pip install doc --- docs/tutorials/INSTALL.md | 2 ++ docs/tutorials/INSTALL_cn.md | 2 ++ requirements.txt | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/INSTALL.md b/docs/tutorials/INSTALL.md index a411be02d..697c7a96d 100644 --- a/docs/tutorials/INSTALL.md +++ b/docs/tutorials/INSTALL.md @@ -59,6 +59,8 @@ COCO-API is needed for running. Installation is as follows: # Alternatively, if you do not have permissions or prefer # not to install the COCO API into global site-packages python setup.py install --user + # or with pip + pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI" **Installation of COCO-API in windows:** diff --git a/docs/tutorials/INSTALL_cn.md b/docs/tutorials/INSTALL_cn.md index 222dc7d8e..75dbe0af2 100644 --- a/docs/tutorials/INSTALL_cn.md +++ b/docs/tutorials/INSTALL_cn.md @@ -55,6 +55,8 @@ python -c "import paddle; print(paddle.__version__)" make install # 若您没有权限或更倾向不安装至全局site-packages python setup.py install --user + # 或者使用pip安装 + pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI" **windows用户安装COCO-API方式:** diff --git a/requirements.txt b/requirements.txt index 2e0299ba1..8aa3f4d23 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,6 @@ docstring_parser @ http://github.com/willthefrog/docstring_parser/tarball/master typeguard ; python_version >= '3.4' tb-paddle tensorboard >= 1.15 -cython -pycocotools opencv-python PyYAML shapely -- GitLab