0
我有一个调用easygui的Python脚本。这个脚本在我以前的电脑上工作得很好。我有一台新电脑,我试图升级我的脚本,但没有从easygui得到一个错误。 这是违规的代码。EasyGui diropenbox()给出错误'模块'对象没有属性'askdirectory'
inDir = diropenbox("Set to the input directory of geo-tagged images. This directory will also store the output KML file.")
这是错误消息。
PYTHON ERRORS:
Traceback info:
File "C:\gTemp\GeotaggedImagesToKMLandCSVforLiNUXandiOS\GeotaggedImage2KML_CSV.py", line 150, in <module>
inDir = diropenbox()
Error Info:
'module' object has no attribute 'askdirectory'
为什么现在的代码抛出这个错误?请注意,在我之前的代码中,我称之为easygui文本框,并且工作,所以我相信安装很好。 Python 2.7 Windows 7 easygui_0.98.1-py2.py3-none.any.whl installed。