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 :)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
(4 years later...)
I had the same issue and successfully resolved it by setting up correctly the "Content Root" in "Settings / Project / Project Structure".
You have to set the root folder of your installed odoo/openerp there.
What are you using,Pycharm or Eclipse?
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()
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
feb 18
|
9054 | ||
|
1
ago 25
|
259 | ||
|
0
ago 25
|
2 | ||
|
0
jul 25
|
2 | ||
|
0
jul 25
|
3 |