|
1
2
|
pip uninstall apschedulerpip install apscheduler==2.1.2 |
easy_install apscheduler 安装问题
|
1
2
3
4
5
6
7
|
Traceback (most recent call last): File "/usr/bin/autostack-service", line 5, in <module>
from handle import handle
File "/usr/lib/python2.6/site-packages/autostack/handle/handle.py", line 28, in <module>
from apscheduler.scheduler import Scheduler
ImportError: cannot import name Scheduler
ImportError: No module named scheduler" |
在最新的apscheduler库中没有对应的库,必须指定版本库
|
1
2
|
pip uninstall apschedulerpip install apscheduler==2.1.2
|
解决问题
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1623155
本文介绍了在使用apscheduler模块时遇到的版本不兼容问题及解决方案。通过卸载现有版本并安装指定版本(2.1.2)成功解决了Scheduler无法导入的问题。

3万+

被折叠的 条评论
为什么被折叠?



