Could not execute command 'sassc'

win10 安装odoo12报错:
“Could not execute command 'sassc'This error occured while compiling the bundle 'web.assets_common' containing:”
问题日志报错:
Style error
The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.
Could not execute command 'sassc'This error occured while compiling the bundle 'web.assets_common' containing:

  • /web/static/lib/bootstrap/scss/bootstrap/_mixins.scss
  • /web/static/src/scss/utils.scss
  • /web/static/src/scss/primary_variables.scss
  • /web_editor/static/src/scss/web_editor.variables.scss
  • /web/static/src/scss/secondary_variables.scss
  • /web/static/lib/bootstrap/scss/bootstrap/_variables.scss
  • /web/static/lib/bootstrap-datetimepicker/src/scss/_bootstrap-datetimepicker.scss
  • /web/static/src/scss/fonts.scss
  • /web/static/src/scss/ui.scss
  • /web/static/src/scss/ui_extra.scss
  • /web/static/src/scss/navbar.scss
  • /web/static/src/scss/mimetypes.scss
  • /web/static/src/scss/modal.scss
  • /web/static/src/scss/animation.scss
  • /web/static/src/scss/rainbow.scss
  • /web/static/src/scss/datepicker.scss
  • /web_tour/static/src/scss/tip.scss
  • /web_tour/static/src/scss/keyframes.scss

解决方法: 给odoo应用安装sassc的依赖库,命令:pip install libsass
Could not execute command 'sassc'
结果:
Could not execute command 'sassc'

猜你喜欢

转载自blog.51cto.com/siweilai/2308938