python package installation problem

2009-06-21 Thread Sancar
Hi, I'm using Debian 5.0. I'm having problems with python packages installed with apt specifically gtk and gobject. I'm trying to install wicd which requires these modules. Installation was successful, but when I tried to run it , I had an error "No module named gtk". If I look at modules in py

Re: should Debian's Python cache module locations for import statments?

2009-06-21 Thread Thomas Viehmann
Thomas Viehmann wrote: ... Unfortunately python -mfoo -c ... is bogus without adding the proper calls. As such the speedup was also bogus and is only from 5.5 to 3.2 seconds or some such. Hooray for testing after the final cleanups. :) Kind regards T. -- Thomas Viehmann, http://thomas.viehma

should Debian's Python cache module locations for import statments?

2009-06-21 Thread Thomas Viehmann
Hi, the other day I asked myself why calendarserver (written in python using twisted) takes ages to start when booting my laptop. A measurable part of this is Python looking for modules. As the Debian OS pretty much knows what modules are in /usr/lib/python2.5 and friends, maybe Debian's Pytho