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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
(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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
feb. 18
|
9180 | ||
|
1
aug. 25
|
902 | ||
|
2
aug. 25
|
417 | ||
|
2
aug. 25
|
494 | ||
|
3
aug. 25
|
1300 |