[問題] pyinstaller打包SpeechRecognition問題

作者: MOONY135 (談無慾)   2017-11-14 14:02:51
大家好 我寫了一個用google語音辨識的程式
現在想打包成安裝包
使用的是pyinstaller
打包指令為
pyinstaller -F py_speech_rec.py
打包好的東西在我開發機上面可以run
但丟到沒有裝python的測試機上 出現下列文字
https://imgur.com/a/cjPJf
查了一下文件說只要update pyinstaller就好
https://pypi.python.org/pypi/SpeechRecognition/
The program doesn’t run when compiled with PyInstaller.
As of PyInstaller version 3.0, SpeechRecognition is supported out of the box.
If you’re getting weird issues when compiling your program using
PyInstaller, simply update PyInstaller.
You can easily do this by running pip install
作者: marksmanz   2017-11-14 22:10:00
有試過 --onefile 嗎 ?
作者: MOONY135 (談無慾)   2017-11-15 22:43:00
我明天試試看

Links booklink

Contact Us: admin [ a t ] ucptt.com