diff --git a/doc/COMPILE.md b/doc/COMPILE.md
index 73e3e093ee522444c984bb3d429c6de851a3d984..d63c58b4065b5031d98f42f4a8525add1d3fcf7b 100644
--- a/doc/COMPILE.md
+++ b/doc/COMPILE.md
@@ -23,7 +23,7 @@
| libXext | 1.3.3 |
| libSM | 1.2.2 |
| libXrender | 0.9.10 |
-| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python==4.2.0.32, <4.4.0.40
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 |
+| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python>=4.2.0.32, <4.4.0.40
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 |
It is recommended to use Docker for compilation. We have prepared the Paddle Serving compilation environment for you, see [this document](DOCKER_IMAGES.md).
diff --git a/doc/COMPILE_CN.md b/doc/COMPILE_CN.md
index 3922ebaa98b80859e915c71a3057fdc52ee46025..bc45877a8a3105d2c12805817caafee1781a9122 100644
--- a/doc/COMPILE_CN.md
+++ b/doc/COMPILE_CN.md
@@ -23,7 +23,7 @@
| libXext | 1.3.3 |
| libSM | 1.2.2 |
| libXrender | 0.9.10 |
-| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python==4.2.0.32, <4.4.0.40
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 |
+| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python>=4.2.0.32, <4.4.0.40
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 |
推荐使用Docker编译,我们已经为您准备好了Paddle Serving编译环境,详见[该文档](DOCKER_IMAGES_CN.md)。
diff --git a/python/requirements.txt b/python/requirements.txt
index 4909774e4d6939fdf0acd84613951bd0b49c1411..da58175ac9f437b04fe69612a4f27d91f9946487 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -1,7 +1,7 @@
numpy>=1.12, <=1.16.4 ; python_version<"3.5"
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
-opencv-python==4.2.0.32, <4.4.0.40
+opencv-python>=4.2.0.32, <4.4.0.40
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1