我制作了一个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'
现在,我该如何解决此错误?请帮我解决这个问题。