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

前端 未结 6 1779
悲哀的现实
悲哀的现实 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条回答
  •  萌比男神i
    2020-11-30 12:59

    Go to the the code C:\Users\Mr\anaconda3\envs\pythonProject2\Lib\site-packages\sqlalchemy\util and select compat.py and search for time.clock in code.

    Then replace time.clock with time.time and save it.

提交回复
热议问题