[Django]-ModuleNotFoundError: No module named 'hotshot'

4👍

Finally found something. hotshot was a Python profiler (https://docs.python.org/2/library/profile.html)

From https://docs.python.org/2/library/hotshot.html :

hotshot was an experimental C module that focused on minimizing the
overhead of profiling, at the expense of longer data post-processing
times. It is no longer maintained and may be dropped in a future
version of Python.

I simply have to replace hotshot by a newer Python profiler, compatible with Python 3 :
https://docs.python.org/3/library/profile.html

So either profile or cProfile.

👤Eli O.

Leave a comment