Robert Kern wrote: > 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.
:-) The example works now in Python 2.4. r. _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion