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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
(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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
2月 18
|
9179 | ||
|
1
8月 25
|
894 | ||
|
2
8月 25
|
412 | ||
|
2
8月 25
|
488 | ||
|
3
8月 25
|
1292 |