问题描述
(MIPS64) pip 安装pyinstaller成功后,使用报错:
Fatal error: PyInstaller does not include a pre-compiled bootloader for your
platform. For more details and instructions how to build the bootloader see
https://pyinstaller.readthedocs.io/en/stable/bootloader-building.html
解决方法:
进入venv/lib/python3.7/site-packages/pyinstaller-4.5.1-py3.7.egg/PyInstaller/bootloader目录(或venv/lib/python3.7/site-packages/PyInstaller/bootloader)下,创建Linux-64bit-unknown目录,拷贝Linux-64bit-mips内容到该目录即可
PS:
使用源码安装方法方法参考-Download pyinstaller and install from source instead using pip.
https://stackoverflow.com/questions/57077169/pyinstaller-missing-bootloader
python setup.py install