简体   繁体   中英

OpenERP - Error: No module named Image

I am running OpenERP 6.0.3, Windows 7, server from Apatana IDE. Server starts and runs fine. When I login using OpenERP GTK Client, I get the error in the console:

[2015-03-27 11:48:34,996][adamson_prod] INFO:init:module pyqr: loading objects
[2015-03-27 11:48:34,996][adamson_prod] INFO:init:module pyqr: registering objects
[2015-03-27 11:48:34,996][adamson_prod] CRITICAL:init:Couldn't load module pyqr
[2015-03-27 11:48:34,996][adamson_prod] CRITICAL:init:No module named Image

There is a module pyqr in my addons. I installed PIL for Python. Why I am getting these errors and what do I need to do to eliminate them?

解决方案是安装正确的PIL版本,即PIL-1.1.7.win-amd64-py2.7.exe

As far as I can see, those errors come from the pyqr module, which could be wrongly installed. You should check if it is installed correctly.

More specifically these two lines:

[2015-03-27 11:48:34,996][adamson_prod] CRITICAL:init:Couldn't load module pyqr
[2015-03-27 11:48:34,996][adamson_prod] CRITICAL:init:No module named Image

this indicates that the pyqr module could not initialize because the module named Image is missing. To fix this you should reinstall the module.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM