Timezone Information Missing in pytz?

后端 未结 8 1607
轻奢々
轻奢々 2020-12-31 16:17

I\'m having a very weird problem with Python\'s pytz: it seems to have an incomplete catalog of timezones on my system (MacOS X 10.8.5, system Python 2.7.5).

8条回答
  •  既然无缘
    2020-12-31 16:57

    For me it as was easy as updating the pytz package via pip3 -install pytz --update On AWS linux machines I had to execute it like this python3 -m pip install pytz --update

    My app was complaining about unknown timezone 'America/Punta_Arenas'

提交回复
热议问题