python Only timezones from the pytz library are supported
最近在使用测试平台时,使用到定时任务时,遇到的问题:
新建失败:Only timezones from the pytz library are supported
各种方法百度等,均不得其解。
这个问题的出现,相同的代码,在不同的电脑上表现出来的形式,排除法分析可能会是python版本或者python库版本问题。
后面在一个帖子中,看到,将tzlocal 的版本改为2.1
当使用pip list查看到,当前出错的tzlocal版本是 3.0
于是试着重新安装了tzlocal ,pip install tzlocal==2.1
安装后,再次新建定时任务,ok了。
谢谢这个帖子的启发。
https://zhuanlan.zhihu.com/p/403096201
python Only timezones from the pytz library are supported相关推荐
- Python versions prior to 3.5 are not supported for pyFlink
版本: flink1.12 命令: ./flink run --target yarn-per-job --python ***.py 报错: Python versions prior to 3.5 ...
- elasticalert
elastalert安装部署问题收集 官网文档:https://elastalert.readthedocs.io/en/latest/running_elastalert.html#tutorial ...
- Python常见问题(4):Python库与扩展 Library and Extension FAQ
Contents Library and Extension FAQ General Library Questions How do I find a module or application t ...
- python当前日期时间_Python当前日期时间
python当前日期时间 We can use Python datetime module to get the current date and time of the local system. ...
- python中与six有关的whl_pandas - 在升级numpy,six和python-dateutil时,无法使用pip来安装pandas - 堆栈内存溢出...
在升级numpy和pytho-dateutil我无法使用pip来安装pandas . 经过几次尝试,我认为问题在于pip默认安装路径. 如何解决此问题并成功安装pandas ? Python 2.7已 ...
- Python著名的lib和开发框架(均为转载)
第一,https://github.com/vinta/awesome-python Awesome Python A curated list of awesome Python framework ...
- mac版python安装pandas_关于python:使用pip在Mac上安装Pandas
我试图用pip安装Pandas,但遇到了问题. 以下是详细信息: Mac OS Sierra which python => /usr/bin/python python --version = ...
- python datetime timezone_Python中timezone的部分常用操作
对timzone的操作总是感觉特别的繁杂,经过牛人指点,提炼出来几个比较常用的timezone操作. import pytz from datetime import datetime time_st ...
- python ggplot为什么不能取代matplotlib_Matplotlib vs ggplot2
作者|Dario Radečić 编译|VK 来源|Towards Datas Science 2020年即将结束(终于),数据可视化再重要不过了.呈现一个看起来像5岁小孩的东西已经不再是一个选择,所 ...
- python pypcap 安装失败_解决Windows 10下python安装pypcap失败的问题
先说结论,直接使用pcap-ct. 因为项目需求需要在windows下抓包,用python编程.所以就找相关的轮子.找到了三个: 1.pypcap(pip install pypcap) 2.libp ...
最新文章
- 纽约时报:近1/3美国顶尖AI科学家来自中国,88%中国籍博士会留下建设美利坚...
- window.opener.document.getElementById(“a”)用标准的Jquery 语言怎么写
- Java中导入错误的jar所引发的问题
- source insight(SI)C/C++符号标记含义
- 使用变量_存储过程和函数及变量的使用
- 【牛客 - 280A】勘测(fib数列,思维,打表)
- 组件与.NET互操作
- 速更新!流行的开源邮件客户端 Mozilla Thunderbird 91.3修复多个高危缺陷
- Python基础语法测验习题(有答案版)
- PostgreSQL 存储过程(Procedures)和函数(Functions)的区别
- 常用编码:Shift_JIS, GBK,EUCKR,Big5,UTF8,CP1252
- quick-cocos 3.5 lua banding c++
- iOS小技能:设备ID除了使用_idfa、_idfv 还可使用其他替代方案(使用Keychain 存储UUID)
- S32K144时钟配置
- Work Tasks
- wordpress 调用指定页面内容详解2 get_children()
- WebDAV之葫芦儿·派盘+FX文件管理器
- 将IMYWebLoader添加到蚂蚁mpaas框架中引发的问题和解决的问题
- 【CNN】——矩阵乘法优化
- 记录 vue-admin-template 中 npm install 错误解决办法
热门文章
- java定时每周执行一次_Spring 定时任务如何实现每周一某个时间执行?
- R数据分析:方法与案例详解--自学笔记
- 这些信用卡取现可以免除手续费!
- 矩阵卷积、矩阵相乘以及频域相乘之间的关系
- 6 二十五项反措--防止锅炉事故
- PyTorch 深度学习入门
- 【FOC控制】英飞凌TC264无刷驱动方案simplefoc移植(1)-霍尔编码器移植
- 数据同步工具简单介绍
- SketchUp2019下载SU2019下载安装教程SketchUp草图大师2019下载安装详细教程
- 潦草字体在线识别_潦草字体在线识别_遇到好看的字体?不会识别?教你如何快速识别字体...