[问题] 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