我想知道是否任何人都有成功創建一個獨立的可執行文件,使用pyinstaller與腳本進口導入。我一直試圖這樣做幾天,但是我一直得到一個導入錯誤。通過一些挖掘,我相信我可能需要添加一些隱藏的導入並創建自己的鉤子。不過,我還沒有聽說任何人有任何成功,所以我想我會問在這裏,看看有沒有人可以有這方面的經驗。PyInstaller和Enthought Suite
3
A
回答
0
我一直在試圖構建一個使用matplotlib(enthought的組件之一)的python應用程序的獨立exe文件,並且在使它工作時遇到了很多麻煩。最後在pyinstaller網站上發現了一個bug帖子(http://www.pyinstaller.org/ticket/651),告訴我它是pyinstaller中的一個bug。我跟着在這篇文章中的參考下載固定版本的安裝程序在https://github.com/pyinstaller/pyinstaller/pull/61
現在我的構建獨立EXE工作正常。我敢打賭,你遇到了和我一樣的問題。請參閱... Building python pylab/matplotlib exe using pyinstaller
相關問題
- 1. PyInstaller和PythonNet CLR
- 2. py2exe/pyinstaller和DispatchWithEvents
- 3. pyinstaller和win32com
- 4. pyinstaller和reportlab問題
- 5. PyInstaller和Python3.6 - Tuple Index
- 6. 基於Enthought TraitsUI的Python IDE
- 7. PyInstaller「ImportError:No module named Pyinstaller」
- 8. Enthought enaml tableeditor
- 9. enthought python distribution wx
- 10. scipy ipython Enthought
- 11. pyinstaller與matplotlib backend_wxagg和hashlib md5
- 12. 性狀UI(enthought)和回調選自C
- 13. 安裝PyObjC上Enthought Python和冠層
- 14. enthought安裝問題
- 15. pyinstaller OwnerError
- 16. G Suite和Amazon SES MX記錄
- 17. Enthought Canopy安裝程序不會在Linux中創建〜/ Enthought目錄
- 18. Consuming SOA Suite WSDL SOAP
- 19. Arquillian Suite Extension - 我們是否應該在Suite
- 20. 使用WeifenLuo DockPanel Suite
- 21. PyInstaller 2.1 IOError
- 22. Pyinstaller與wx.lib.pubsub
- 23. python pyinstaller UnicodeDecodeError cp949
- 24. Pyinstaller scrapy錯誤:
- 25. Pyinstaller CMD錯誤
- 26. PyInstaller加密--key
- 27. Pyinstaller回溯
- 28. pyinstaller錯誤
- 29. Pyinstaller - 獨立.EXE
- 30. 包括pyinstaller
我沒有使用PyInstaller,但我已經使用py2exe來打包ETS GUI應用程序。你幾乎肯定需要使用'--onedir --hidden-import = traitsui.qt4 --hidden-import = pyface.ui.qt4'(如果你使用的是wxPython,用'wx'替換'qt4')。 – 2013-03-06 16:19:17
您是否認爲您可以向我提供您用於使用py2exe打包ETS的設置腳本。如果可能的話,我想用一個例子來工作。 – user1750948 2013-03-08 13:58:49
我很抱歉,但這是客戶的專有工作。 – 2013-03-12 10:37:23