ModuleNotFoundError: No module named 'pyinstrument.low_level.stat_profile'
version:pyinstrument 4.2.0 pypi_0 pypi Python 3.7.13
from pyinstrument import Profiler profiler = Profiler() profiler.start() ... profiler.stop() profiler.print()
raise ModuleNotFoundError: No module named 'pyinstrument.low_level.stat_profile'
try: conda install -c conda-forge conda-forge::pyinstrument
success!!!
How were you installing pyinstrument to get the above error?
That module is compiled, so it seems like the compilation step was missing in however you installed it.
try: conda install -c conda-forge conda-forge::pyinstrument
success!!!
@wjunneng Does this mean you solved this issue?
Closed, feel free to reopen if there's still an issue.