大家好 我寫了一個用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