刘珲的博客

导航

2020年7月27日 #

AttributeError: module 'time' has no attribute 'clock'

摘要: 在python3.8中flask项目运行报错: AttributeError: module 'time' has no attribute 'clock'解决方案 主要原因是因为python3.8中不支持clock了, 需要替换成time.pref_counter()替换就可以了 修改后已经正常启 阅读全文

posted @ 2020-07-27 22:44 刘珲的博客 阅读(14293) 评论(1) 推荐(1) 编辑