fisrt install Odoo 12
/opt/odoo/odoo$ ./odoo-bin
/opt/odoo/odoo/odoo/tools/misc.py:1151: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if not digits and digits is not 0:
Traceback (most recent call last):
File "./odoo-bin", line 5, in <module>
import odoo
File "/opt/odoo/odoo/odoo/__init__.py", line 125, 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 30, in <module>
from lxml import etree
ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)