Skip to Content
Menú
This question has been flagged
1 Respondre
8013 Vistes

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
Descartar
Best Answer

 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
Descartar
Related Posts Respostes Vistes Activitat
1
de març 21
5677
5
de juny 20
36443
2
de jul. 25
4456
0
de juny 25
2
2
de des. 24
7636