diff --git a/.travis.yml b/.travis.yml index 3993dc31fdbf75c084f08e12ffcf5ef0b1737f89..31d76ecb876f117217566359e69a6bd7fdb2c45e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,7 +57,7 @@ before_install: - if [[ "$JOB" == "PRE_COMMIT" ]]; then sudo ln -s /usr/bin/clang-format-3.8 /usr/bin/clang-format; fi # Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python # protobuf version. - - pip install numpy wheel 'protobuf==3.1' sphinx recommonmark sphinx_rtd_theme virtualenv pre-commit requests==2.9.2 LinkChecker 'scikit-learn>=0.18.0' + - pip install numpy wheel 'protobuf==3.1' sphinx recommonmark sphinx_rtd_theme virtualenv pre-commit requests==2.9.2 LinkChecker 'scikit-learn>=0.18.0' 'scipy>=0.18.0' script: - paddle/scripts/travis/main.sh notifications: diff --git a/python/setup.py.in b/python/setup.py.in index fbee7bca90e3ada9a651022de20d867f37247242..c7e46293b79fe0f8e92f7425247ddefef6777a62 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -17,6 +17,7 @@ setup(name='paddle', '': '${CMAKE_CURRENT_SOURCE_DIR}' }, install_requires = [ - 'scikit-learn>=0.18.0' + 'scikit-learn>=0.18.0', + 'scipy>=0.18.0', ] )