Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 897 Bytes

build_macos.md

File metadata and controls

15 lines (10 loc) · 897 Bytes

Build Python Package on macOS

Prerequisites

Our build system requires:

  • CMake (>=3.14.3)
  • macOS 10.9 or later
  • Clang compilers
  • Python >= 3.8: Tested on Python 3.8.9.
  • Protobuf compiler: Find a binary executable for OS x86_64 architecture here. Download and extract the zip file, then locate the binary executable protoc to the location where path is set. Please note that nnabla has python package dependency of protobuf, if the protoc binary you used is not compatible, please try another version of protoc.

Build and installation

Once the requirements described above are set up, the rest of the procedure is exactly same as that in the build on Linux. See Build Python Package from Source.