安装报错
pip install apscheduler==0.5.2
....
Collecting importlib-resources; python_version < "3.7" (from backports.zoneinfo; python_version < "3.9"->tzlocal==3.0)
Downloading http://mirrors.cmbchina.cn/repository/pypi/packages/3c/a7/4e4a2176fed10ab233cc39b083ba4ec222ba52de2be606e3e2b5195264e9/importlib_resources-5.8.0-py3-none-any.whl
importlib-resources requires Python '>=3.7' but the running Python is 3.6.7
这是由于一个库 tzlocal 版本过高,引入了importlib-resources
- 由于importlib-resources 仅支持 3.7
- 需要先安装tzlocal的低版本
pip install tzlocal==2.1