requires Python ‘>=3.7‘ but the running Python is 3.6.9 问题

这篇具有很好参考价值的文章主要介绍了requires Python ‘>=3.7‘ but the running Python is 3.6.9 问题。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

过程

  • ubuntu18.04 使用如下命令安装protobuf

 pip3 install protobuf
  • 安装完毕后报错

protobuf requires Python '>=3.7' but the running Python is 3.6.9

解决

  • 更新pip

python3 -m pip install --upgrade pip
  • 再次安装之前安装的module

pip3 install protobuf
  • 不再报错文章来源地址https://www.toymoban.com/news/detail-693474.html

到了这里,关于requires Python ‘>=3.7‘ but the running Python is 3.6.9 问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • 记一次git pull报错问题 is owned by: ‘xxx‘ but the current user is ‘xxx‘

    记一次git pull报错问题 is owned by: ‘xxx‘ but the current user is ‘xxx‘

    使用git pull命令报错 fatal: detected dubious ownership in repository at \\\'D:/xxx/myapp\\\' \\\'D:/xxx/小程序后台/myapp\\\' is owned by:         \\\'S-1-5-21-1208550113-1887591142-738254596-1000\\\' but the current user is:         \\\'S-1-5-21-322366719-3789332941-2827711459-500\\\' To add an exception for this directory, call:         git config --global -

    2024年02月11日
    浏览(14)
  • Python中pip报错: error: Microsoft Visual C++ 14.0 is required

    Python中pip报错: error: Microsoft Visual C++ 14.0 is required

    环境说明 环境和版本很重要,大量的博客没有环境说明和版本介绍,对新人很不友好 系统版本:Windows server 2008r2 Python版本:Python3.7 随着报错提示链接进去一看,居然是按照visual studio的链接,我的天,别人不知道这个东西有多大,我tmd是.net开发人员啊,我不知道它有多大?

    2024年02月11日
    浏览(20)
  • python pip error:Microsoft Visual C++ 14.0 or greater is required

    python pip error:Microsoft Visual C++ 14.0 or greater is required

    windows 10平台下 其他win系列平台也可参考,因为我用的是Windows10 再安装python的一些依赖包的时候,突然会报以下错误 error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ 博主是在安装 package requirements \\\'padd

    2024年02月03日
    浏览(12)
  • Flink CDC报The connector is trying to read binlog starting at xxx but this is no longer available问题解决

    Flink CDC报The connector is trying to read binlog starting at xxx but this is no longer available问题解决

    问题是笔者最近在使用FlinkCDC 2.3.0 捕获MySQL binlog日志时遇到的,MySQL使用的阿里云的RDS, MysqlCDC 使用读账号以 Initinal 模式,任务已经运行了一段时间突然报的错,之前在使用FlinkCDC时也曾遇到过,设置了一些参数后没有再出现过,一直比较忙没有来得及总结下来。但是今天同

    2024年02月07日
    浏览(9)
  • 如何解决Python pip的版本匹配错误:ERROR: Could not find a version that satisfies the requirement

    如何解决Python pip的版本匹配错误:ERROR: Could not find a version that satisfies the requirement

    博主猫头虎的技术世界 🌟 欢迎来到猫头虎的博客 — 探索技术的无限可能! 专栏链接 : 🔗 精选专栏 : 《面试题大全》 — 面试准备的宝典! 《IDEA开发秘籍》 — 提升你的IDEA技能! 《100天精通鸿蒙》 — 从Web/安卓到鸿蒙大师! 《100天精通Golang(基础入门篇)》 — 踏入

    2024年04月16日
    浏览(56)
  • 【Python 3.9.9】pip insatll wordcloud 提示 error: Microsoft Visual C++ 14.0 or greater is required

    【Python 3.9.9】pip insatll wordcloud 提示 error: Microsoft Visual C++ 14.0 or greater is required

    运行环境: 【Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)] on win32】  pip insatll wordcloud 提示如下: 根据提示,Get it with \\\"Microsoft C++ Build Tools\\\": https://visualstudio.microsoft.com/visual-cpp-build-tools/ https://visualstudio.microsoft.com/visual-cpp-build-tools/  下载得到安装包:vs_

    2024年02月04日
    浏览(11)
  • 【Bug——Python】ERROR: Could not find a version that satisfies the requirement pip (from versions: none

    【Bug——Python】ERROR: Could not find a version that satisfies the requirement pip (from versions: none

    目录 一、项目场景 二、问题描述 三、原因分析 三、解决方案 四、总结 pip报错 今天在升级pip的时候发生了如下的报错问题: 报错内容翻译: 错误:找不到满足要求的版本pip(来自版本:none) 错误:找不到与pip匹配的分发         我们经常通过pip安装东西时常常会出现

    2024年02月08日
    浏览(214)
  • Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    使用 pip 安装 python 包时,经常会出现如下错误: 本次在用pip命令(pip install pdf2word)安装pdf2docx包的时候出错 因为后来安装好了,所以故意安装一个错误的pdf2word,来整个图 可能是国内网络不稳定,直接导致报错,而不是环境冲突。报错信息看起来容易把人误导到解决包环境

    2024年01月18日
    浏览(56)
  • # python 报错; pip install 报错;error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Mi

    # python 报错; pip install 报错;error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Mi

    解决问题了的话求看官老爷们给个👍哈 谢谢支持QAQ 日常总结我踩过的坑 今天是cnocr的安装 首先第一行代码 pip安装cnocr(一个ocr工具第三方库 ) pip install cnocr -i https://pypi.tuna.tsinghua.edu.cn/simple/ 报错信息在文末 需要翻老底的可以去看看 这里报出了error: Microsoft Visual C++ 14.0 o

    2024年02月02日
    浏览(33)
  • pip安装成功,但下载依赖时报错the ssl module in Python is not available

    执行命令,能够正确得展示pip当前版本,证明pip安装没有问题,但是使用pip下载依赖时就会报错: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 很好理解,就是the ssl module 这个ssl模块版本太低了 python版本需要和openssl的版本需要相对匹

    2024年02月05日
    浏览(10)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包