Skip to Content
Menu
This question has been flagged
3 Replies
12280 Views

Hello everybody!!

Need your help  please.

When i want to start the service odoo i got this error:

root@rihano-SATELLITE-L850-1X4:/opt/odoo/odoo# ./odoo-bin 

Traceback (most recent call last):

  File "./odoo-bin", line 5, in <module>

    import odoo

  File "/opt/odoo/odoo/odoo/__init__.py", line 84, in <module>

    from . import modules

  File "/opt/odoo/odoo/odoo/modules/__init__.py", line 8, in <module>

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

  File "/opt/odoo/odoo/odoo/modules/graph.py", line 10, in <module>

    import odoo.tools as tools

  File "/opt/odoo/odoo/odoo/tools/__init__.py", line 9, in <module>

    from .misc import *

  File "/opt/odoo/odoo/odoo/tools/misc.py", line 29, in <module>

    from lxml import etree

ImportError: cannot import name 'etree'

Would anyone help me.
Thanks a lot in advance.
Best regards.    
Avatar
Discard
Best Answer

hello 

install using below command

=> sudo apt-get install python3-lxml

or
install the requirements.txt file so it will take automatically the package version as your needs.
=> sudo pip3 install -r requirements.txt
Avatar
Discard
Best Answer

Are all the dependencies for Odoo installed?

Try:

sudo apt-get install python-lxml

If this library is not installed, check which others are also not installed before proceeding.

https://github.com/odoo/odoo/blob/11.0/requirements.txt

Avatar
Discard
Author

i have two versions of python 2.7 and 3.5 and i think thats the big prblem bacause when i run odoo11 i use python3.5 and when i install i use python2.7.5 would you help please

Related Posts Replies Views Activity
2
Jul 24
937
1
Jun 24
3560
1
Oct 23
8578
1
Oct 23
97
1
Aug 23
2192