why python on debian without the module profile?

Tim Leslie tim.leslie at gmail.com
Mon Jun 13 05:54:47 EDT 2005


My understanding is that there are licence issues (someone please
correct me if I'm wrong). The moral of the story is that there's a
seperate (non-free) package for the profiler:

http://packages.debian.org/testing/python/python2.4-profiler

HTH

Tim

On 6/13/05, kyo guan <kyoguan at gmail.com> wrote:
> Hi All:
> 
> Python 2.4.1 (#2, May  5 2005, 11:32:06)
> [GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import hotshot,hotshot.stats
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.4/hotshot/stats.py", line 3, in ?
>     import profile
> ImportError: No module named profile
> >>>
> 
> 
> 
> Python 2.3.5 (#2, May  4 2005, 08:51:39)
> [GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import hotshot,hotshot.stats
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.3/hotshot/stats.py", line 3, in ?
>     import profile
> ImportError: No module named profile
> >>>
> 
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list