python - pyinstaller no predefined compiler for raspberry pi -
i want convert myscript.py exexutable file. using raspberry pi(raspbian) , python 2.7.
i issuing following command
sudo pip install pyinstaller sudo pyinstaller myscript.py
after processing provides error
fatal error: pyinstaller not include pre-compiled bootloader platform. see <http://pythonhosted.org/pyinstaller/#building-the-bootloader> more details , instructions how build bootloader.
i go online build compiler not understand process. how solve problem?
suspect path compilation of bootloader wrong platform
may mentioned in forum here
cd /usr/local/lib/python2.7/dist-packages/pyinstaller/bootloader sudo mv linux-32bit linux-32bit-arm
for rpi need bootloader... may cloned pyinstaller v3.1.1 rpi same thing, change directory name arm platform after have build pyinstaller
cd /path/to/pyinstaller/pyinstaller/bootloader cp -r linux-32bit linux-32bit-arm
Comments
Post a Comment