I also think this qualifies as a distro bug because the profiling
modules (hotshot, profile, pstats, etc.) are only ever described as part
of the Python Standard Library.  All tutorials I've been trying lately
(found through Googling) present these modules as out-of-the-box Python
components -- I was surprised to have to install additional packages to
get a "real" Python environment.

I guess profiling is an advanced topic and users hitting this roadblock
will likely figure it out, but how about at least making the error
message specify that it's a missing Ubuntu package (and not a Python
easy_install, egg, etc.):

current: <type 'exceptions.ImportError'>: No module named profile; please 
install the python-profiler package
suggestion: <type 'exceptions.ImportError'>: No module named profile; please 
install Ubuntu's python-profiler package (for example: sudo apt-get install 
python-profiler)

Best regards, -Tim / 8.04

-- 
pstats module missing in python 2.4 and 2.5
https://bugs.launchpad.net/bugs/123755
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

Reply via email to