【问题标题】:EWS Python API issue: No Windows timezone name found for timezone "Asia/Kolkata"EWS Python API 问题:找不到时区“亚洲/加尔各答”的 Windows 时区名称
【发布时间】:2018-01-11 22:38:58
【问题描述】:

我正在使用 EWS API,我从中进行预约。我正在使用 Ubuntu。

当我启动我的应用程序时,我总是收到错误No Windows timezone name found for timezone "Asia/Kolkata"。我正在使用python 3.6 供您参考。

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

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

【问题讨论】:

标签: python python-3.x exchangewebservices pytz


【解决方案1】:

由 Srinivas 在 https://github.com/ecederstrand/exchangelib/pull/187 中修复,可在 exchangelib v1.9.5 中使用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-21
    • 2021-01-24
    • 1970-01-01
    • 1970-01-01
    • 2020-10-28
    • 2014-03-21
    • 2018-08-31
    相关资源
    最近更新 更多