Sadly it seem that pyflame is not maintained anymore:
Pyflame: A Ptracing Profiler For Python. This project is deprecated and not maintained
per
https://github.com/uber-archive/pyflame