报错:
AttributeError module 'time' has no attribute 'clock'
解决方法:
python3.8不支持 clock 了,用time.perf_counter()替换就可以了。
报错:
AttributeError module 'time' has no attribute 'clock'
解决方法:
python3.8不支持 clock 了,用time.perf_counter()替换就可以了。
本文为原创文章,转载请注明出处。
原文链接:https://850406.xyz/post/解决attributeerror-module-39-time-39-has-no-attribute-39-clock-39
评论(0)
还没有评论,来抢沙发吧~