Pyinstaller安装

pyinstaller 在macOS使用时需要python使用如下参数进行编译

Some of 3rd party tool like PyInstaller might require CPython installation built with –enable-framework. You can build CPython with shared library as follows.

$ env PYTHON_CONFIGURE_OPTS=”–enable-framework” pyenv install 3.5.0