diff --git a/doc/COMPILE.md b/doc/COMPILE.md index d63c58b4065b5031d98f42f4a8525add1d3fcf7b..1836f4fe089f13e2eb2c9485f40d50ec668e4671 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
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 bc45877a8a3105d2c12805817caafee1781a9122..1235653e69161ba8f71d3f8098a1860dca4d357d 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
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 da58175ac9f437b04fe69612a4f27d91f9946487..4b9abc743818cef27ce25539ba6b134a8f85e4e8 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 google>=2.0.3 protobuf>=3.12.2 grpcio-tools>=1.28.1