生活随笔
收集整理的這篇文章主要介紹了
源码安装 odoo12 -- 问题记录
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
odoo12啟動過程中遇到的問題,及解決辦法:
1、ImportError: No module named ‘win32service’
pipenv install pypiwin32
2、ImportError: No module named ‘PIL’
pipenv install Pillow
3、 No module named 'ForkingMixIn'將Werkzeug升級到0.11.15 pipenv install Werkzeug==0.11.15 4、 ModuleNotFoundError: No module named 'reportlab' pipenv install reportlab 5、 psycopg2.OperationalError: fe_sendauth: no password supplied 在setup目錄下 新建odoo.conf 文件 6、 window 安裝 odoo12 報錯 ValueError: embedded null byte 在D:\Python 3.6.4\Python 3.6.4\Lib\_strptime.py下,添加代碼: locale.setlocale(locale.LC_ALL, 'en') 7、更新試用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
轉載于:https://www.cnblogs.com/yanhuaqiang/p/10624669.html
總結
以上是生活随笔為你收集整理的源码安装 odoo12 -- 问题记录的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。