ライブラリ、Tkinter、Pmw、sympy、math、tkfiledialog、webbrowser をインポートして、計算目的で Python スクリプトを作成しました。
ここで、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'
さて、このエラーを解決するにはどうすればよいでしょうか? これを整理するのを手伝ってください。