启动celery报错,提示:timer' object has no attribute 'isalive(计时器“对象没有属性”isalive),报错信息如图所示:

根据网上搜索,都是说啥redis版本的问题,实际原因是:3.8版本和之前的用isAlive没问题,3.9之后就淘汰了,既然淘汰了,我们不用不就行了嘛。

所有我们进入源文件,直接把这个and not self.isAlive()删掉并保存文件。

最后运行celery,成功启动。

timer‘ object has no attribute ‘isalive相关推荐

  1. Python错误:AttributeError: 'generator' object has no attribute 'next'解决办法

    今天在学习生成器对象(generation object)运行以下代码时,遇到了一个错误: #定义生成器函数 def liebiao(): for x in range(10): yield x #函 ...

  2. AttributeError: 'dict' object has no attribute 'status_code'

    前端AJAX请求数据,提示错误:"AttributeError: 'dict' object has no attribute 'status_code'". 原因:是提示返回对象 ...

  3. Traceback (most recent call last): File AttributeError: 'NoneType' object has no attribute 'group'

    Traceback (most recent call last):File "<stdin>", line 1, in <module> Attribut ...

  4. 解决:AttributeError: ‘Graph‘ object has no attribute ‘number_of_selfloops‘

    解决:AttributeError: 'Graph' object has no attribute 'number_of_selfloops' 目录 解决:AttributeError: 'Grap ...

  5. AttributeError: ‘FPDF‘ object has no attribute ‘unifontsubset‘

    AttributeError: 'FPDF' object has no attribute 'unifontsubset' 目录 AttributeError: 'FPDF' object has ...

  6. AttributeError: ‘Series‘ object has no attribute ‘as_matrix‘

    AttributeError: 'Series' object has no attribute 'as_matrix' 问题: y_test = test_shifted["y_t+1&q ...

  7. AttributeError: ‘SVC‘ object has no attribute ‘_probA‘

    AttributeError: 'SVC' object has no attribute '_probA' 问题: # Save the Modle to file in the current w ...

  8. sklearn使用FeatureHasher处理字符串特征: AttributeError: ‘str‘ object has no attribute ‘items‘

    sklearn使用FeatureHasher处理字符串特征: AttributeError: 'str' object has no attribute 'items' 目录 sklearn使用Fea ...

  9. Keras问题“AttributeError: 'NoneType' object has no attribute 'update”解决

    BUG 在使用Keras训练模型时,在每个epoch完成后save_model时会报错 "AttributeError: 'NoneType' object has no attribute ...

最新文章

  1. Sublime Text保存文件时自动去掉行末空格
  2. 常用字符与ASCII代码对照表
  3. 机器学习-集成学习:随机森林(Random Forest)
  4. html提交多个正则表达式,将多个html文件的正则表达式结果写入.txt outfile
  5. java如何获得集合的长度_Java集合长度
  6. javascript 西瓜一期 03 机器语言与高级语言
  7. 算法笔记_094:蓝桥杯练习 矩阵相乘(Java)
  8. 【报告分享】2020年中国智慧城市发展研究报告.pdf(附下载链接)
  9. java react_Java 9React流
  10. CSS3的几个标签速记3
  11. 发力大数据营销 神马搜索获年度最佳移动广告平台奖
  12. Netty 是什么,Netty原理详解
  13. 二进制转八进制公式计算机,二进制转八进制算法(二进制与八进制的互相转换方法)...
  14. 从洛伦兹曲线定性地看马太效应的根源
  15. Spark机器学习实验
  16. Phaser 3 入门实例教程
  17. 中兴对华为NB-IoT的大反击 - CLAA
  18. Java.lang.RuntimeException: Parcel: unable to marshal value
  19. 自动驾驶TPM技术杂谈 ———— 超声波雷达系统测距
  20. VUE中箭头函数可不兴用,尤其是箭头函数里头阿喂

热门文章

  1. 怎样在html中加入音乐播放器,如何在网页中添加音乐播放器
  2. Activity 跳转的生命周期变化
  3. Halcon 图像分割(粘连物体循环分割)
  4. 小谈导数、梯度和极值
  5. 四川学校计算机奥数,2021信竞首战告捷!七中再夺全省第一!成外A队人数全省第一...
  6. 计算广告(四):合约广告
  7. 面向6G的可重构智能表面部署与应用思考
  8. 三种删除计算机文件的方式,不知道c盘哪些文件可以删除_三种方法帮你清理你的c盘 - 驱动管家...
  9. onclick 调用php,php中如何响应button的onclick事件
  10. PyTorch学习记录——PyTorch进阶训练技巧