Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
7 Besvarelser
7696 Visninger

I went to install a stock module in  my system but every time it gives me error like

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

I check the code of the yml file it is same as the in odoo github file I was nothing to change in code.
I not understand way it is gives error.

Avatar
Kassér

update the code to the latest commit and then try again

Forfatter

I will pull latest code from git

check the pyyaml version, use the version less than 4 and see

Bedste svar


pip3 instal PyYAML==3.13

Avatar
Kassér
Forfatter

Mostafa Thanks It is working now.

Bedste svar

as mustafa said, For Odoo 10 :

pip install pyyaml==3.13

Avatar
Kassér
Bedste svar

Thanks Mustofa,

It's working on odoo 11.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
nov. 23
2260
0
apr. 23
2862
1
mar. 23
2249
2
feb. 23
3643
1
jan. 23
16047