Facial-Expression-Recognition.Pytorch icon indicating copy to clipboard operation
Facial-Expression-Recognition.Pytorch copied to clipboard

os.popen

Open hdy0715 opened this issue 3 years ago • 1 comments

请问一下这句code的参数是不是有问题呀 _, term_width = os.popen('stty size', 'r').read().split() term_width = int(term_width) 当我run mainpro_CK+.py时会有这样的错误 _, term_width = os.popen('stty size', 'r').read().split() ValueError: not enough values to unpack (expected 2, got 0)

hdy0715 avatar Dec 09 '21 08:12 hdy0715

我也遇到了这个问题,请问下解决了吗?

zyh0317 avatar Mar 03 '22 13:03 zyh0317