Odoo Help

1

Pycharm configuration, lack of openerp imports

By
Roman
on 9/5/16, 7:11 AM 575 views

    Hello, I'm quite new in Phyton, and struggling with strange issue. My interperter can not resolve any import OPENERP, did I wrongly installed it? How to add this library to enviroment? Thanks in advance :)    

0
Fawad Mazhar
On 4/28/17, 3:42 AM

It gives error please guide me,

C:\Python27\python.exe D:/odoo_10.0e.latest/odoo-10.0-e-20170412/odoo-server.py D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo.conf Traceback (most recent call last):

  File "D:/odoo_10.0e.latest/odoo-10.0-e-20170412/odoo-server.py", line 2, in <module>

    import odoo

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\__init__.py", line 60, in <module>

    import modules

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\modules\__init__.py", line 8, in <module>

    from . import db, graph, loading, migration, module, registry

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\modules\graph.py", line 13, in <module>

    import odoo.osv as osv

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\osv\__init__.py", line 4, in <module>

    import osv

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\osv\osv.py", line 4, in <module>

    from ..exceptions import except_orm

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\exceptions.py", line 15, in <module>

    from tools.func import frame_codeinfo

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\tools\__init__.py", line 8, in <module>

    from misc import *

  File "D:\odoo_10.0e.latest\odoo-10.0-e-20170412\odoo\tools\misc.py", line 22, in <module>

    import werkzeug.utils ImportError: No module named werkzeug.utils

Process finished with exit code 1

0

Shameem iWesabe

--Shameem iWesabe--
788
| 5 3 5
Calicut, India
--Shameem iWesabe--

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                  ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem iWesabe
On 10/29/16, 4:09 AM

Roman,

It is a common issue when installing odoo 10. I don't know what you are installing

It's solution is

Small change in odoo-server file
Put odoo instead of openerp


#!/usr/bin/env pythonimport openerp
import openerp
if __name__ == "__main__":
    openerp.cli.main()

to

#!/usr/bin/env pythonimport odoo
import odoo
if __name__ == "__main__":
    odoo.cli.main()


0
保定-粉刷匠
On 10/28/16, 9:10 AM

What are you using,Pycharm or Eclipse?

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.

Register

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)

Stats

Asked: 9/5/16, 7:11 AM
Seen: 575 times
Last updated: 4/28/17, 3:42 AM