/matplotlib/dates.py 发生的错误:"Can't create weekday with n == 0"
来源:互联网 发布:天猫淘宝运营招聘信息 编辑:程序博客网 时间:2024/06/10 08:16
错误
Traceback (most recent call last): File "demo_showcandidates.py", line 9, in <module> import skimage.io File "/usr/local/lib/python3.4/dist-packages/skimage/io/__init__.py", line 15, in <module> reset_plugins() File "/usr/local/lib/python3.4/dist-packages/skimage/io/manage_plugins.py", line 93, in reset_plugins _load_preferred_plugins() File "/usr/local/lib/python3.4/dist-packages/skimage/io/manage_plugins.py", line 73, in _load_preferred_plugins _set_plugin(p_type, preferred_plugins['all']) File "/usr/local/lib/python3.4/dist-packages/skimage/io/manage_plugins.py", line 85, in _set_plugin use_plugin(plugin, kind=plugin_type) File "/usr/local/lib/python3.4/dist-packages/skimage/io/manage_plugins.py", line 255, in use_plugin _load(name) File "/usr/local/lib/python3.4/dist-packages/skimage/io/manage_plugins.py", line 299, in _load fromlist=[modname]) File "/usr/local/lib/python3.4/dist-packages/skimage/io/_plugins/matplotlib_plugin.py", line 3, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.4/dist-packages/matplotlib/pyplot.py", line 37, in <module> from matplotlib.figure import Figure, figaspect File "/usr/local/lib/python3.4/dist-packages/matplotlib/figure.py", line 40, in <module> from matplotlib.axes import Axes, SubplotBase, subplot_class_factory File "/usr/local/lib/python3.4/dist-packages/matplotlib/axes/__init__.py", line 4, in <module> from ._subplots import * File "/usr/local/lib/python3.4/dist-packages/matplotlib/axes/_subplots.py", line 10, in <module> from matplotlib.axes._axes import Axes File "/usr/local/lib/python3.4/dist-packages/matplotlib/axes/_axes.py", line 24, in <module> import matplotlib.dates as _ # <-registers a date unit converter File "/usr/local/lib/python3.4/dist-packages/matplotlib/dates.py", line 125, in <module> from dateutil.rrule import (rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, File "/usr/local/lib/python3.4/dist-packages/dateutil/rrule.py", line 55 raise ValueError, "Can't create weekday with n == 0" ^SyntaxError: invalid syntax
解决
输入下面命令
sudo pip3 install --upgrade python-util
阅读全文
0 0
- /matplotlib/dates.py 发生的错误:"Can't create weekday with n == 0"
- Can't create table #sql-2e4_14.frm' (errno: 150)--创建外键时发生的错误
- mysql 出现 Can't create/write to file 的错误
- 使用MySql创建表时发生Can't create table 'xx' (errno: 150)的可能原因。
- ComFailException:can't co-create object.错误的猜测的一种解决方法
- MySQL使用中产生的Error:Can't create/write to file错误
- VC2008 新建Console Application遇到的错误“Automation server can't create object”
- MYSQL提示Can't create a new thread (errno 12)错误的解决办法
- Can't create handler inside thread that has not called Looper.prepare()错误的解决
- Can't create handler inside thread that has not called Looper.prepare()错误的解决
- 莫名其妙的MySQL错误Can't create secure /var/tmp/mysql
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- can't create transaction lock on ... 错误原因
- Automation server can't create object错误及其解决方法
- can't create transaction lock on ... 错误原因
- 处理 keilc can't create command input file '(null)' 错误
- fresco在listview滑动中处理
- shiro登录过程分析
- Learning To Detect Unseen Object Classes by Between-Class Attribute Transfer(阅读报告)
- android干货收集
- 使用productFlavors 出现错误Configuration with name 'debug' not found.
- /matplotlib/dates.py 发生的错误:"Can't create weekday with n == 0"
- CentOS7+Apache2.4.6+Subversion1.7.14+Tomcat9+Mysql5.6+JDK1.8+svnadmin3.0.5傻瓜式搭建
- java 类型通配符 ?
- 对于list的复制问题
- 一定能成功的Android NDK环境配置教程
- weex error NpmPackage.js:50
- PHP生成微信二维码
- 《jQuery基础教程》第三章摘记
- 关于线程中锁的使用以及死锁情况