Skip to content

Commit

Permalink
Merge pull request #147 from sony/fix/20180523-docfix-for-python3x-build
Browse files Browse the repository at this point in the history
fixed nnabla/doc/build/build.md
  • Loading branch information
TakuyaNarihira committed May 25, 2018
2 parents 458c2ee + c5acbd7 commit c4f3fa9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/build/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ cmake ../
make
```

If you want to install nnabla for python 3.x, you may need to add `-DPYTHON_COMMAND_NAME=python3.x` to `cmake`. Without it, the installation may fail.
So replace `cmake ../`. with

```shell
cmake ../ -DPYTHON_COMMAND_NAME=python3.6 # if you use python 3.6
```

Be carefull if you have multiple python versions.

Finally, you get the NNabla Python package installer as a wheel file found at `./dist`. You can install nnabla using the wheel file using `pip` command.

```shell
Expand Down

0 comments on commit c4f3fa9

Please sign in to comment.