[python]修复 ZMySQLDA-2.0.8 出现的“ImportError: No module named ImageFile”错误
修改 ZMySQLDA 文件夹内的 DA.py、DABase.py 文件,将
from ImageFile import ImageFile
改为
from App.ImageFile import ImageFile
即可。
[zope@localhost ZMySQLDA]$ cat DA.py | grep App.Image -n 96:from App.ImageFile import ImageFile [zope@localhost ZMySQLDA]$ cat DABase.py | grep App.Image -n 92:from App.ImageFile ...