in linux/install_gpu_driver.py [0:0]
def print_err(cls, msg: str, end=os.linesep, print_=True):
if cls.STDERR_LOG_F:
cls.STDERR_LOG_F.write(msg + end)
cls.STDERR_LOG_F.flush()
if print_:
print(msg, end=end, file=sys.stderr)