Search code examples
pythonpython-3.xexchangewebservicespytz

EWS Python API issue: No Windows timezone name found for timezone "Asia/Kolkata"


I am using EWS API, from where i am booking an appointment. I am using Ubuntu.

When i am starting my application, i always get the error No Windows timezone name found for timezone "Asia/Kolkata". i am using python 3.6 for your information.

Things i did so far:

  1. checked timezone of Ubuntu via timedatectl command which gives me timezone as Asia/Calcutta.
  2. Updated all my libraries of pytz, tzlocal and exchangelib.

Solution

  • Fixed by Srinivas in https://github.com/ecederstrand/exchangelib/pull/187 and available in exchangelib v1.9.5.