Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7992 Visualizzazioni

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
Abbandona
Risposta migliore

 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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 21
5658
5
giu 20
36413
2
lug 25
4416
0
giu 25
2
2
dic 24
7608