Build Python Package on macOS
September 21, 2023 ยท View on GitHub
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
protocto the location where path is set. Please note that nnabla has python package dependency of protobuf, if theprotocbinary you used is not compatible, please try another version ofprotoc.
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.