[問題] pyinstaller打包SpeechRecognition問題
大家好 我寫了一個用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 --upgrade pyinstaller.
更新也更新過了
但打包完還是出現上圖的狀況
不知道缺少甚麼
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.124.46.82
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1510639375.A.377.html
推
11/14 22:10,
6年前
, 1F
11/14 22:10, 1F
→
11/15 22:43,
6年前
, 2F
11/15 22:43, 2F