[Numpy-discussion] profiling line by line
Sun Sep 21 02:35:04 CDT 2008
On Sun, Sep 21, 2008 at 02:26, Robert Cimrman <email@example.com> wrote:
> Cool, then I have another one:
> $ ./kernprof.py -l pystone.py
> Traceback (most recent call last):
> File "./kernprof.py", line 173, in ?
> File "./kernprof.py", line 138, in main
> import line_profiler
> line 9, in ?
> from _line_profiler import LineProfiler as CLineProfiler
> File "_line_profiler.pyx", line 3, in _line_profiler
> from cProfile import label
> ImportError: No module named cProfile
> Or do I call the profiler in a wrong way?
Nope, I just had a brainfart and put the implementation of label() in
the wrong file. Pull again.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion