Python3.7 AttributeError: module ‘time‘ has no attribute ‘clock‘ time.clock() has been removed in the new version of Python 3.3. Attributeerror: module ‘time’ has no attribute ‘clock’