ubuntu安装celery报错 encountered error while generating package metadata

Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in anyjson setup command: use_2to3 is invalid.
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

解决办法:

此时系统python版本为3.10.4

降级到3.5版本

sudo apt-get install python3.5

ubuntu安装celery报错 encountered error while generating package metadata相关推荐

  1. ubuntu安装lrzsz报错“E: Unable to locate package”

    ubuntu安装上传文件包lrzsz的时候报错 "E: Unable to locate package" 先运行下面两个 apt-get update apt-get upgra ...

  2. open with code 报错没有项目_Python开发:解决Ubuntu安装tesserocr报错

    tesserocr是Python的一个OCR库, 其中OCR指的是光学字符识别,是指通过扫描字符,然后通过其形状将其翻译成电子文本的过程. tesserocr是tesseract做的一层Python ...

  3. Ubuntu环境QT报错:-1 error: cannot find -lGL(解决99%)

    Ubuntu环境QT报错:-1 error: cannot find -lGL(解决99%) 本文参考:http://c.biancheng.net/view/3901.html 在Ubuntu18. ...

  4. 安装yaml报错:ERROR: Cannot uninstall 'PyYAML'.

    安装yaml报错:ERROR: Cannot uninstall 'PyYAML'. 文章目录: 一.错误原因分析 二.最终错误解决方式 一.错误原因分析 1.开始安装 我是一开始安装yaml,使用命 ...

  5. Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform

    解决Ubuntu安装tensorflow报错:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this ...

  6. Windows安装pyav报错:ERROR: Failed building wheel for av.Failed to build av. ERROR: Could not build wheel

    Windows安装pyav报错:ERROR: Failed building wheel for av.Failed to build av. ERROR: Could not build wheel ...

  7. 【ujson】pip安装ujson报错: error:Microsoft Visual C++ 14.0 is required

    在win10上pip安装ujson报错 在使用pip安装依赖包ujson时,遇到了问题,如下:  building 'ujson' extension     error: Microsoft Vis ...

  8. Deepin下安装scrapy报错fatal error: Python.h: 没有那个文件或目录

    Deepin下安装scrapy报错(亲测有效!) 问题描述 在deepin操作系统上,使用python3.6,通过sudo pip3 install scrapy安装时候,出现以下错误: src/tw ...

  9. Ubuntu安装docker报错:Package ‘docker-ce‘ has no installation candidate

    Package 'docker-ce' has no installation candidate Ubuntu 20.04.3 安装docker报错 报错一: E: Package 'docker- ...

最新文章

  1. 我的世界boat运行库JAVA10_我的世界boatmod模组大全
  2. HTML中属性值是否加引号规则详解
  3. amazeui学习笔记一(开始使用4)--Web App 相关
  4. Java,C++四舍五入
  5. MySQL在哪里看secret_key_K8S 创建和查看secret(九)
  6. mysql数据库栏目_MySQL的一些小技巧(持续更新) - mysql数据库栏目
  7. Qt编写echart仪表盘JS交互程序支持webkit和webengine(开源)
  8. orgmode导出html,含有python代码块的ORG-MODE导出为HTML时出错
  9. VMware下CentOS6.8配置GFS文件系统
  10. DE14 Interpretation of the Exceptional Case: Resonance
  11. restsharp简单使用
  12. 详细微信小程序API文档
  13. 施工部署主要不包括_施工部署编制内容不包括( )_学小易找答案
  14. 多个excel工作簿合并_如何使用Excel VBA将多个工作簿的全部工作表合并到一个工作簿中...
  15. 微信小程序|智能停车系统中车牌计费功能实现
  16. The server encountered an internal error () that prevented it from fulfilling this request.
  17. 2022最全大数据学习路线(建议收藏)
  18. POS机刷卡跨行交易的清算方式
  19. 余弦于相似度cos similarity
  20. ADO数据库连接中的Integrated Security和Persist Security Info参数的作用

热门文章

  1. 如果Mac上的键盘听写无法正常工作怎么办呢?
  2. Unity中鼠标的交互事件
  3. MIMIKATZ编译教程
  4. mimikatz抓取密码实战
  5. ggplot2高效实用指南 (可视化脚本、工具、套路、配色)
  6. 【愚公系列】2023年05月 攻防世界-Web(php2)
  7. 聊QQ时,系统消息提示“被迫下线”怎么回事
  8. 黎明杀机因为计算机丢失,黎明杀机存档丢失解决方法
  9. Smarty学习笔记——变量调节器
  10. 运算符优先级(由高到低)