|
img = Image('Image_Path') 报错Traceback (most recent call last):
File "d:\Administrator\Desktop\工具\常用工具.tbx#外业报告.py", line 62, in <module>
File "build\bdist.win32\egg\openpyxl\drawing\image.py", line 42, in __init__
image.close()
File "C:\Python27\ArcGIS10.2\lib\site-packages\PIL\Image.py", line 514, in __getattr__
raise AttributeError(name)
AttributeError: close
指导怎么解决吗,我的是2.7版本 |
|