odoo运行时出现 yaml.constructor.constructorerror:could not determine a

如果运行odoo时出现下面这种错误yaml,可能就是python包的版本出现错误

解决办法:

①、该BUG是在安装PyYAML安装5.0的版本导致的。

②、因此卸载该版本,终端输入“pip uninstall PyYAML”。

③、终端输入“pip install PyYAML==3.10”然后重新安装,即可修复该问题。

原文地址:https://www.cnblogs.com/louissica/p/10824914.html