Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time.clock was removed in Python 3.8 in favor of time.process_time/time.perf_counter #284

Open
tirkarthi opened this issue May 10, 2020 · 1 comment

Comments

@tirkarthi
Copy link

Ref : python/cpython#13270

pyAudioAnalysis/data/testComputational.py
16:			t1 = time.clock()
18:			t2 = time.clock()
24:			t1 = time.clock()
26:			t2 = time.clock()
32:			t1 = time.clock()
34:			t2 = time.clock()
40:			t1 = time.clock()
42:			t2 = time.clock()
48:			t1 = time.clock()
51:			t2 = time.clock()
57:			t1 = time.clock()
59:			t2 = time.clock()
65:			t1 = time.clock()		
67:			t2 = time.clock()
73:			t1 = time.clock()		
75:			t2 = time.clock()

pyAudioAnalysis/MidTermFeatures.py
173:        t1 = time.clock()        
208:            t2 = time.clock()
@wyattowalsh
Copy link

I'm getting an
`AttributeError: module 'time' has no attribute 'clock'``
when I attempt to run the visualization function... any ideas on how I might be able to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants