Public bug reported:
Binary package hint: python2.5
This should be reproducible by doing the following
i) Install python25 but not python-statistics
ii) Run the code like the following
import cProfile
cProfile.run("something")
iii) You will see a traceback like this
Traceback (most recent call last):
File "text.py", line 73, in <module>
cProfile.run('print best_partition()')
File "/usr/lib/python2.5/cProfile.py", line 36, in run
result = prof.print_stats(sort)
File "/usr/lib/python2.5/cProfile.py", line 80, in print_stats
import pstats
ImportError: No module named pstats
I would expect that if cProfile is installed, then its dependencies
should also be installed.
Machine information
********************
mom...@moment:~/misc/limimom...@moment:~/misc/limited-button-text$ apt-cache
policy python2.5
python2.5:
Installed: 2.5.2-11.1ubuntu1
Candidate: 2.5.2-11.1ubuntu1
Version table:
*** 2.5.2-11.1ubuntu1 0
500 http://gb.archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
ted-button-text$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
** Affects: python2.5 (Ubuntu)
Importance: Undecided
Status: Invalid
--
python stats is not a dependency but cProfile including with python25
https://bugs.launchpad.net/bugs/379984
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs