On Sun, Sep 21, 2008 at 02:26, Robert Cimrman <[EMAIL PROTECTED]> wrote: > Cool, then I have another one: > > $ ./kernprof.py -l pystone.py > Traceback (most recent call last): > File "./kernprof.py", line 173, in ? > sys.exit(main(sys.argv)) > File "./kernprof.py", line 138, in main > import line_profiler > File > "/home/share/software/packages/line_profiler-2ea515d0cbc1/line_profiler.py", > line 9, in ? > from _line_profiler import LineProfiler as CLineProfiler > File "_line_profiler.pyx", line 3, in _line_profiler > (_line_profiler.c:2246) > 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. -- Robert Kern "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 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion