New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while installing lxml #163370
Comments
The lxml package was broken up recently install lxml-html-clean to fix the issue. |
Related #163429 |
Related #157950 |
Thanks a lot, appreciate it, this is the first time am trying without any knowledge or experience of python, pycharm, etc. |
Thanks @lathama |
Installing No PR will be forthcoming from me, as I will not be signing a CLA, but hopefully it helps someone stumbling on this. |
I found #161366 existing for this already. |
Please someone help to fix this for me.
C:\Python310\python.exe C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo-bin -c odoo.conf
Traceback (most recent call last):
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo-bin", line 5, in
import odoo
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo_init_.py", line 134, in
from . import modules
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo\modules_init_.py", line 8, in
from . import db, graph, loading, migration, module, registry, neutralize
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo\modules\graph.py", line 10, in
import odoo.tools as tools
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo\tools_init_.py", line 24, in
from .mail import *
File "C:\Users\Sequel\Downloads\odoo-16.0\odoo-16.0\odoo\tools\mail.py", line 32, in
safe_attrs = clean.defs.safe_attrs | frozenset(
AttributeError: module 'lxml.html.clean' has no attribute 'defs'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: