Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
7 Antwoorden
7692 Weergaven

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
Annuleer

update the code to the latest commit and then try again

Auteur

I will pull latest code from git

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

Beste antwoord


pip3 instal PyYAML==3.13

Avatar
Annuleer
Auteur

Mostafa Thanks It is working now.

Beste antwoord

as mustafa said, For Odoo 10 :

pip install pyyaml==3.13

Avatar
Annuleer
Beste antwoord

Thanks Mustofa,

It's working on odoo 11.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 23
2256
0
apr. 23
2857
1
mrt. 23
2239
2
feb. 23
3640
1
jan. 23
16029