Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
7 Antworten
7705 Ansichten

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
Verwerfen

update the code to the latest commit and then try again

Autor

I will pull latest code from git

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

Beste Antwort


pip3 instal PyYAML==3.13

Avatar
Verwerfen
Autor

Mostafa Thanks It is working now.

Beste Antwort

as mustafa said, For Odoo 10 :

pip install pyyaml==3.13

Avatar
Verwerfen
Beste Antwort

Thanks Mustofa,

It's working on odoo 11.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 23
2273
0
Apr. 23
2869
1
März 23
2253
2
Feb. 23
3647
1
Jan. 23
16054