Update requirement for py2 and py3 (#18068)

for py2:
matplotlib<=2.2.3 ; python_version<"3.5"
scipy>=0.19.0, <=1.2.1 ; python_version<"3.5"
nltk>=3.2.2, <=3.4 ; python_version<"3.5"

for py3:
matplotlib ; python_version>="3.5"
scipy ; python_version>="3.5"
nltk ; python_version>="3.5"

update requests version to >=2.20.0
for CEV-2018-18074
revert-18229-add_multi_gpu_install_check
lujun 6 years ago committed by GitHub
parent 2e1d8cf7c8
commit 5c3cbb58e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,12 +1,15 @@
requests==2.9.2
requests>=2.20.0
numpy>=1.12
protobuf>=3.1.0
recordio>=0.1.0
matplotlib==2.2.3 # TODO: let python3 paddlepaddle package use latest matplotlib
matplotlib<=2.2.3 ; python_version<"3.5"
scipy>=0.19.0, <=1.2.1 ; python_version<"3.5"
nltk>=3.2.2, <=3.4 ; python_version<"3.5"
matplotlib ; python_version>="3.5"
scipy ; python_version>="3.5"
nltk ; python_version>="3.5"
rarfile
scipy>=0.19.0,<=1.2.1
Pillow
nltk>=3.2.2
graphviz
six
funcsigs

Loading…
Cancel
Save