From 36d40b1b70b177e3696f1a96db6811dd5ab319d1 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Fri, 4 Aug 2017 13:38:12 +0800 Subject: [PATCH] Paddle needs numpy>=1.12 * because it uses `numpy.flip` in `test_image.py` --- paddle/setup.py.in | 2 +- python/setup.py.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/setup.py.in b/paddle/setup.py.in index 06d55d3abc..31c9329f6a 100644 --- a/paddle/setup.py.in +++ b/paddle/setup.py.in @@ -22,7 +22,7 @@ setup(name="py_paddle", package_data={'py_paddle':['*.py','_swig_paddle.so']}, install_requires = [ 'nltk>=3.2.2', - 'numpy>=1.8.0', # The numpy is required. + 'numpy>=1.12.0', # The numpy is required. 'protobuf==${PROTOBUF_VERSION}' # The paddle protobuf version ], url='http://www.paddlepaddle.org/', diff --git a/python/setup.py.in b/python/setup.py.in index 65a26940d4..7808238aa6 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -14,7 +14,7 @@ packages=['paddle', 'paddle.v2.framework.proto'] setup_requires=["requests", - "numpy", + "numpy>=1.12", "protobuf==3.1", "recordio", "matplotlib", -- GitLab