You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2017/12/25 23:39:47 UTC
[incubator-mxnet] branch master updated: Make versions of python
dependencies like numpy, deterministic. (#9169)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 17427d1 Make versions of python dependencies like numpy, deterministic. (#9169)
17427d1 is described below
commit 17427d1dc949cb921a190151bc8de74ed50504ef
Author: Sandeep Krishnamurthy <sa...@gmail.com>
AuthorDate: Mon Dec 25 15:39:43 2017 -0800
Make versions of python dependencies like numpy, deterministic. (#9169)
* Make versions of python dependencies like numpy, deterministic.
* Make numpy version dependency fixed between 1.8.2 and 1.13.3. Update install guide with fortran for numpy
---
docs/install/index.md | 8 ++++----
python/setup.py | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/install/index.md b/docs/install/index.md
index c9ff073..dc381a5 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -240,10 +240,10 @@ $ make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
**Build the MXNet Python binding**
-**Step 1** Install prerequisites - python, setup-tools, python-pip and numpy.
+**Step 1** Install prerequisites - python, setup-tools, python-pip and libfortran (required for Numpy).
```bash
-$ sudo apt-get install -y python-dev python-setuptools python-numpy python-pip
+$ sudo apt-get install -y python-dev python-setuptools python-pip libgfortran3
```
**Step 2** Install the MXNet Python binding.
@@ -468,10 +468,10 @@ $ make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/
**Install the MXNet Python binding**
-**Step 1** Install prerequisites - python, setup-tools, python-pip and numpy.
+**Step 1** Install prerequisites - python, setup-tools, python-pip and libfortran (required for Numpy)..
```bash
-$ sudo apt-get install -y python-dev python-setuptools python-numpy python-pip
+$ sudo apt-get install -y python-dev python-setuptools python-pip libgfortran3
```
**Step 2** Install the MXNet Python binding.
diff --git a/python/setup.py b/python/setup.py
index 029b3af..b7a8449 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -28,7 +28,7 @@ if "--inplace" in sys.argv:
else:
from setuptools import setup
from setuptools.extension import Extension
- kwargs = {'install_requires': ['numpy', 'requests', 'graphviz'], 'zip_safe': False}
+ kwargs = {'install_requires': ['numpy<=1.13.3,>=1.8.2', 'requests==2.18.4', 'graphviz==0.8.1'], 'zip_safe': False}
from setuptools import find_packages
with_cython = False
--
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].