You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/08/06 16:04:25 UTC

[GitHub] sandeep-krishnamurthy commented on a change in pull request #10951: [MXNET-545] Fix broken cython build

sandeep-krishnamurthy commented on a change in pull request #10951: [MXNET-545] Fix broken cython build
URL: https://github.com/apache/incubator-mxnet/pull/10951#discussion_r207944134
 
 

 ##########
 File path: docs/install/index.md
 ##########
 @@ -459,7 +459,16 @@ $ make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
 $ sudo apt-get install -y python-dev python-setuptools python-pip libgfortran3
 ```
 
-**Step 2** Install the MXNet Python binding.
+**Step 2** Build cython modules (optional).
+
+```bash
+$ sudo apt-get install -y cython
+$ make cython # You can set the python executable with `PYTHON` flag, e.g., make cython PYTHON=python3
+```
+
+Note that you can control the use of the cython modules at runtime via the environment variables `MXNET_ENABLE_CYTHON` and `MXNET_ENFORCE_CYTHON`. See [here](/faq/env_var.html) for details.
 
 Review comment:
   If user is building Cython in this step, then I think we can assume he wants to use Cython. Can we also provide steps to set the environment variables here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services