EWS Python API问题:找不到时区“亚洲/加尔各答”的Windows时区名称

时间:2017-08-04 05:57:04

标签: python python-3.x exchangewebservices pytz

我正在使用EWS API,从我预约的地方。我正在使用Ubuntu。

当我启动我的应用程序时,我总是收到错误No Windows timezone name found for timezone "Asia/Kolkata"。我使用python 3.6作为您的信息。

到目前为止我所做的事情:

  1. 通过timedatectl命令检查Ubuntu的时区给了我 时区为亚洲/加尔各答。
  2. 更新了我的所有pytz,tzlocal和exchangelib库。

1 个答案:

答案 0 :(得分:0)

由Srinivas在https://github.com/ecederstrand/exchangelib/pull/187中修复,并在exchangelib v1.9.5中提供。