İçereği Atla
Menü
Bu soru işaretlendi
7 Cevaplar
7691 Görünümler

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
Vazgeç

update the code to the latest commit and then try again

Üretici

I will pull latest code from git

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

En İyi Yanıt


pip3 instal PyYAML==3.13

Avatar
Vazgeç
Üretici

Mostafa Thanks It is working now.

En İyi Yanıt

as mustafa said, For Odoo 10 :

pip install pyyaml==3.13

Avatar
Vazgeç
En İyi Yanıt

Thanks Mustofa,

It's working on odoo 11.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 23
2256
0
Nis 23
2856
1
Mar 23
2239
2
Şub 23
3639
1
Oca 23
16027