[Answered ]-Django and Pytz what is going wrong?

2👍

It looks like a bug in distribute package for python3 at the following location –

pkg_resources.py -> get_resource_string
this method returns bytes and StringIO is expecting for string.
I tried to decode it by using decode(“ISO-8859-1”) method then I got error in pytz package.

However I got the workaround for this –

Change “./pytz-2013.7-py3.3.egg” to “./pytz” in
“site-packages/easy-install.pth” file.

Make sure you have unzipped pytz directory in your site-packages
directory.

Leave a comment