AttributeError: module 'sass' has no attribute 'compile'

1k Views Asked by At

I am trying to install odoo12 but getting this error like AttributeError: module 'sass' has no attribute 'compile'.

I installed libsass python library which is required for odoo12 after installing thar error happened

please, anyone help.

1

There are 1 best solutions below

0
switch87 On

try doing pip freeze | grep sass if the output lists the sass module next to libsass this is the problem. removing sass (and optionally reinstalling libsass) should fix the problem.