Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
8016 Visualizações

when i run odoo version 10 in terminal using:

 python odoo-bin --addons ./addons

it give the error as below:

Error:  from openpyxl.styles import Style,

Font, Alignment, Border, Side ImportError: cannot import name Style

can anyone get it this error?

Please suggest the solution.

Avatar
Cancelar
Melhor resposta

 I have the same error in Odoo 10.  I have written below the line.

 from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font

instead of

from openpyxl import Styles, Font, Alignment, Border, Side
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 21
5683
5
jun. 20
36457
2
jul. 25
4477
0
jun. 25
2
2
dez. 24
7661