Community mailing list archives

community@mail.odoo.com

Scaffolding -> simplejson error

by
Arjan Duijs
- 09/04/2015 15:15:06
Hi,
I am trying to add a "dummy theme" through the cli, but even though the simplejson is installed:
[josesapelli@web452 odoo]$ pip install simplejson
Requirement already satisfied (use --upgrade to upgrade): simplejson in /home/josesapelli/lib/python2.7


i am getting the following errorm, any suggestions?

[josesapelli@web452 odoo]$ ./odoo.py scaffold -t theme "Dummy Theme" addon
Traceback (most recent call last):
  File "./odoo.py", line 160, in <module>
    main()
  File "./odoo.py", line 156, in main
    import openerp
  File "/home/josesapelli/webapps/odoo/odoo/openerp/__init__.py", line 76, in <module>
    import modules
  File "/home/josesapelli/webapps/odoo/odoo/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/home/josesapelli/webapps/odoo/odoo/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/home/josesapelli/webapps/odoo/odoo/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/home/josesapelli/webapps/odoo/odoo/openerp/osv/osv.py", line 23, in <module>
    from .orm import Model, TransientModel, AbstractModel
  File "/home/josesapelli/webapps/odoo/odoo/openerp/osv/orm.py", line 1, in <module>
    import simplejson
ImportError: No module named simplejson