timing-asgi icon indicating copy to clipboard operation
timing-asgi copied to clipboard

ModuleNotFoundError: No module named 'resource' on Windows

Open mvanderlee opened this issue 4 years ago • 1 comments

get_cpu_time() uses the Unix only resource package. Instead of raising an exception, I'd expect a warning message and a different method of calculating cpu time, or even set cpu_time to 0.

mvanderlee avatar Jan 24 '21 03:01 mvanderlee

I am also facing the same error. on windows.

bhaveshdaswani93 avatar Sep 11 '21 12:09 bhaveshdaswani93