求助from PIL._util import isPath No module named _util
-
D:\Python27\python.exe E:/GreenOdoo-9/source/openerp-server -c openerp_server.conf
Traceback (most recent call last):
File "E:/GreenOdoo-9/source/openerp-server", line 2, in <module>
import openerp
File "E:\GreenOdoo-9\source\openerp_init_.py", line 58, in <module>
import modules
File "E:\GreenOdoo-9\source\openerp\modules_init_.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "E:\GreenOdoo-9\source\openerp\modules\graph.py", line 13, in <module>
import openerp.osv as osv
File "E:\GreenOdoo-9\source\openerp\osv_init_.py", line 4, in <module>
import osv
File "E:\GreenOdoo-9\source\openerp\osv\osv.py", line 4, in <module>
from ..exceptions import except_orm
File "E:\GreenOdoo-9\source\openerp\exceptions.py", line 15, in <module>
from tools.func import frame_codeinfo
File "E:\GreenOdoo-9\source\openerp\tools_init_.py", line 12, in <module>
from image import *
File "E:\GreenOdoo-9\source\openerp\tools\image.py", line 9, in <module>
from PIL import Image
File "D:\Python27\lib\site-packages\PIL\Image.py", line 106, in <module>
from PIL._util import isPath
ImportError: No module named _util
Process finished with exit code 1
这个PIL的第三方库不能用 from PIL imort Image么?