1
2
|
pip uninstall apscheduler
pip 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 apscheduler
pip
install
apscheduler==2.1.2
|
解决问题
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1623155