1. 程式人生 > >Could not execute command ‘sassc‘

Could not execute command ‘sassc‘

and this str sets 技術 mep you ons eve

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‘