我製作了一個python腳本,用於計算目的,導入庫,Tkinter,Pmw,sympy,數學,tkfiledialog,webbrowser。AttributeError:通過Pyinstaller將python腳本轉換爲EXE
現在,通過使用Pyinstaller將其轉換爲EXE應用程序。 當我運行它,它給人的錯誤:
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python27\\Earthing\\dist\\Earthing\\Pmw/*.*'
所以,我複製並粘貼在該位置的整個PMW目錄。但是,這樣做後,我得到的錯誤:
AttributeError: 'module' object has no attribute 'OptionMenu'
現在,我該如何解決此錯誤?請幫我解決這個問題。