AttributeError: module 'time' has no attribute 'clock' in Python 3.8

前端 未结 6 1783
悲哀的现实
悲哀的现实 2020-11-30 12:11

I have written code to generate public and private keys. It works great at Python 3.7 but it fails in Python 3.8. I don\'t know how it fails in the latest version. Help me w

6条回答
  •  情歌与酒
    2020-11-30 12:48

    The module you use to generate key call a method that have been depreciated since python 3.3 time.clock().

    You could downgrade to python 3.7 or change the source code to replace it. You should open an issue for that as well.

提交回复
热议问题