Odoo Help


Howto install openobject-server on OSX?

Jonas Colmsjö
on 4/30/13, 7:31 PM 3,140 views

I'm trying to install openobject-server on OSX 10.8.3.

I have done:

python setup.py build
sudo python setup.py install

Now when trying to start I get this error:

gizur-laptop-5:openobject-server jonas$ ./openerp-server --addons-path=~/home/workspace/stable/addons
Traceback (most recent call last):
  File "./openerp-server", line 2, in <module>
    import openerp
  File "/Users/jonas/git/local/openobject-server/openerp/__init__.py", line 39, in <module>
    import addons
  File "/Users/jonas/git/local/openobject-server/openerp/addons/__init__.py", line 38, in <module>
    from openerp.modules import get_module_resource, get_module_path
  File "/Users/jonas/git/local/openobject-server/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/Users/jonas/git/local/openobject-server/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/Users/jonas/git/local/openobject-server/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/Users/jonas/git/local/openobject-server/openerp/osv/osv.py", line 22, in <module>
    from openerp.osv.orm import except_orm, Model, TransientModel, AbstractModel
  File "/Users/jonas/git/local/openobject-server/openerp/osv/orm.py", line 60, in <module>
    import fields
  File "/Users/jonas/git/local/openobject-server/openerp/osv/fields.py", line 47, in <module>
    import openerp.tools as tools
  File "/Users/jonas/git/local/openobject-server/openerp/tools/__init__.py", line 29, in <module>
    from image import *
  File "/Users/jonas/git/local/openobject-server/openerp/tools/image.py", line 27, in <module>
    from PIL import Image
ImportError: No module named PIL

Any suggestions are greatly appreciated.

I have the same problem with source installation on Debian Linux

Denis Karataev
on 11/2/13, 6:21 AM


--Borni DHIFI--
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 


Skype : dhifi.borni

On 4/30/13, 8:03 PM
No module named PIL

PIL : The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.

install this Library python.

PIL is installed. I tried to upgrade and start again but get the same error.

gizur-laptop-5:openobject-server jonas$ pip install PIL --upgrade
Requirement already up-to-date: PIL in /Library/Python/2.7/site-packages/PIL
Cleaning up...
Jonas Colmsjö
on 5/1/13, 5:48 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/30/13, 7:31 PM
Seen: 3140 times
Last updated: 3/16/15, 8:10 AM