After applying a small workaround, I can run
from my_module import main
profile(main)
The main function successfully runs (judging from its side-effects), but upon main finishing, I see 'Line profiler - Error':
Traceback (most recent call last):
File "<stdin>". line 23, in <module>
AttributeError: 'dict' object has no attribute 'iteritems'
Could this be a Python3 related problem? I am using Python 3.6.
After applying a small workaround, I can run
The main function successfully runs (judging from its side-effects), but upon main finishing, I see 'Line profiler - Error':
Could this be a Python3 related problem? I am using Python 3.6.