在安装odoo11自带的‘库存管理’的时候出现了如下yaml问题的解决方案

安装时出现如下图BUG:

yaml.constructor.ConstructorError:could not determine a constructor for the tag " !python "
	in " <byte string > ", line 2,coulumn 3:
		!python {model: ir.model.data, i  ......

在这里插入图片描述
①、该BUG是在安装PyYAML安装5.0的版本导致的。

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

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

猜你喜欢

转载自blog.csdn.net/weixin_42579328/article/details/88901381