这个问题可把我给坑苦了(我本身的版本是3.5而服务器上的Python版本是2.6) 问题的主要缘由我估计是Python2.6用不了太高的版本,因此解决方案就是找个低版本的。 python
pip uninstall apscheduler pip install apscheduler==2.1.2
easy_install apscheduler 安装问题 服务器
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库中没有对应的库,必须指定版本库 spa
pip uninstall apscheduler pip install apscheduler==2.1.2