easy_install apscheduler 安装问题 : pip install apscheduler==2.1.2

简介:
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


相关文章
|
10月前
pip install --upgrade transformers
pip install --upgrade transformers
168 1
|
5月前
pip install -U weditor 安装报错 error: subprocess-exited-with-error
pip install -U weditor 安装报错 error: subprocess-exited-with-error
319 0
|
Linux Shell Python
python第三方库 pip install速度慢的解决办法
python第三方库 pip install速度慢的解决办法
445 0
|
14天前
|
Linux Shell Python
centos执行pip3 install etcd3报错
centos执行pip3 install etcd3报错
|
2月前
|
Ubuntu Python
ubuntu build install python3.12 and config pip
ubuntu 编译安装 python ; 并配置 pip 仓库源
49 0
|
3月前
|
安全 Python
【Python】 已解决:(pip提示)[notice] To update, run: python.exe -m pip install --upgrade pip
【Python】 已解决:(pip提示)[notice] To update, run: python.exe -m pip install --upgrade pip
163 0
【Python】 已解决:(pip提示)[notice] To update, run: python.exe -m pip install --upgrade pip
|
3月前
|
安全 网络安全 Python
【Python】已解决:(pip安装库报错)ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访
【Python】已解决:(pip安装库报错)ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访
79 0
|
5月前
|
存储 Scala 索引
【零碎知识】pip install 与 conda install 的区别
【零碎知识】pip install 与 conda install 的区别
287 0
|
5月前
|
Unix Linux Python
sudo python -m pip install --upgrade pip
sudo python -m pip install --upgrade pip是一个用于升级Python包管理器pip的命令。这个命令由pip模块提供,它是一个Python包管理器,用于安装、升级和删除Python软件包。--upgrade选项表示要执行升级操作。
207 1
|
5月前
|
Python Windows
解决Python下pip install MySQL-python失败的问题
解决Python下pip install MySQL-python失败的问题
79 0