Bug#583875: python-tz: pytz is missing in pymodules/python2.6

Brian Sutherland brian at vanguardistas.net
Mon May 31 13:42:52 UTC 2010


On Mon, May 31, 2010 at 01:08:24PM +0200, Matteo Bertini wrote:
> On lun, 2010-05-31 at 12:36 +0200, Brian Sutherland wrote:
> 
> > Hi,
> > 
> > I tried to reproduce this, but couldn't. Can you try (without the folder
> > that you created as a workaround) this command in the shell:
> > 
> >     python2.6 -c 'import pytz; print pytz.__file__'
> > 
> 
> [13:00] bertini at armonia:~$ python2.6
> Python 2.6.5 (r265:79063, Mar 18 2010, 23:38:15) 
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pytz
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named pytz
> >>> 
> 
> I just removed --purge pytz and matplotlib and reinstalled but the
> problems still remains.
> 
> Can this be is a weird problem related to some easy_install-ed package
> that silently causes an half pytz install?
> If it's it possible to add some option to have a debug trace off the
> package installation I can attach it here.

python-central symlinks the pytz files into place at installation time.
There may be something weird going on with that. Could you show what
happens when you reinstall?

Unfortunately I'm not very well versed in python-central, so I'm just
guessing at this point.

> 
> Thanks,
> Matteo Bertini
> 

-- 
Brian Sutherland





More information about the pkg-zope-developers mailing list