New submission from Mezhenin Artyom <[email protected]>:
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 <[email protected]>
<http://bugs.python.org/issue7984>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com