- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 python 中module ‘time‘ has no attribute ‘clock‘问题的解决
今天安装了thulac运行中出现了module 'time' has no attribute 'clock'错误,经过查询发现是Python3.8不再支持time.clock,但在调用时依然包含该方法;有效处理:用time.perf_counter()替换。感谢Python3.8 异常AttributeError module 'time' has no attribute 'clock'_搞怪小新-优快云博客...
2021-11-02 09:02:42
6718
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人