Version is not compatible with problems, also in the system are not
For bosses to solve the!!!!!
CodePudding user response:
Refer to https://blog.csdn.net/u011127242/article/details/88864476Solution: find python3.6.6 \ Lib \ site - packages \ robotide \ contrib \ testrunner \ testrunnerplugin py files, modify _create_font function
The modified code is:
Def _create_font (self) :
# the font=wx. SystemSettings. GetFont (wx. SYS_ANSI_FIXED_FONT) # default font from the error
The font=wx. SystemSettings. GetFont (wx. SYS_SYSTEM_FONT) # set a number in 8 no.13 [0], then run ride successfully, SYS_SYSTEM_FONT=13, represents the system font
If not the font. IsFixedWidth () :
# fixed width fonts are typically a little bigger than their
# variable width peers so subtract one from the point size.
The font=wx. The font, the font. GetPointSize () - 1, wx. FONTFAMILY_MODERN,
Wx FONTSTYLE_NORMAL, wx. FONTWEIGHT_NORMAL)
Return the font
Reference: https://blog.csdn.net/u011127242/article/details/88864476