New submission from Mezhenin Artyom a.mezhe...@gmail.com:
1) I have ubuntu 9.10 and python2.6 (and 2.5 too).
2) execution code like that:
if __name__ == __main__:
import cProfile
cProfile.run('main()')
gives me traceback:
Traceback (most recent call last):
File ./scribo.py, line 60, in module
cProfile.run('main()')
File /usr/lib/python2.6/cProfile.py, line 36, in run
result = prof.print_stats(sort)
File /usr/lib/python2.6/cProfile.py, line 80, in print_stats
import pstats
ImportError: No module named pstats
so I had to install python-profiler package manually
--
components: None
messages: 99739
nosy: artech
severity: normal
status: open
title: missing dependencies using cProfile
type: crash
versions: Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7984
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com