ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题

这篇具有很好参考价值的文章主要介绍了ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

问题描述

有一段时间没有使用platformio了,今天突然使用的时候,发现用不了,报错:
Ubuntu PlatformIO: Can not find working Python 3.6+ Interpreter. Please install the latest Python 3 and restart VSCode。

解决办法1

上网一查,发现好多人遇到,同时他们也给出了解决办法:

sudo apt-get install python3-venv

【Ubuntu vscode pio extension install: PlatformIO: Can not find working Python 3.6+ Interpreter】
ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题,ubuntu,vscode,python
【 Can not find working Python 3.6+ Interpreter #3764 】
ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题,ubuntu,vscode,python【 Can not find Python Interpreter #1774 】
ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题,ubuntu,vscode,python

解决办法2

按照办法1操作之后,还是不行。那就找到 .platformio 这个文件夹,然后将其删除(我这里是重命名,效果一样),然后再重新打开vscode。参考【 Can not find Python Interpreter #1774 】
ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题,ubuntu,vscode,python

sudo find / -name .platformio

ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题,ubuntu,vscode,python文章来源地址https://www.toymoban.com/news/detail-621718.html

到了这里,关于ubuntu下,在vscode中使用platformio出现 Can not find working Python 3.6+ Interpreter的问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • 解决方案:Python 中使用 PIL 出现“Could not find a version that satisfies the requirement”错

    解决方案:Python 中使用 PIL 出现“Could not find a version that satisfies the requirement”错误的解决方法 在 Python 中,PIL(Python Imaging Library)是一种常用的图像处理库。但是,有时候我们在安装 PIL 的时候会遇到以下错误提示:“ERROR: Could not find a version that satisfies the requirement PIL”。

    2024年02月09日
    浏览(29)
  • EasyExcel报错Can not find ‘Converter‘ support class Map.解决办法

    最近在将POI改造easyexcel,遇到报错如下 修改办法是在实体类加上如下注解即可解决,最主要的是@ExcelIgnoreUnannotated,其他注解可不加,这个注解的意思官网上有,可以自己去读一下官网。 报错信息

    2024年02月10日
    浏览(45)
  • 记一篇Mockito MyBatisPlus 单元测试时报can not find lambda cache问题

    刚才在写单测时,由于代码中用到了queryWrapper.orderByDesc()方法,报错com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for this entity [com.orm.mybatis.entity.Stusent] 用到了queryWrapper.orderByDesc()方法,导致单测报错。 在单测类中写@Before 方法,问题解决

    2024年02月13日
    浏览(27)
  • 解决Vscode报错 [Vetur can‘t find ‘tsconfig.json‘ or ‘jsconfig.json‘]

    翻译一下报错信息,\\\" Vetur找不到tsconfig.json文件或者jsconfig.json文件\\\". 首先Vetur只会扫描项目的根目录下的jsconfig或者tsconfig,如果没有这两个文件之一,就会报错. 如果你是通过vue-cli创建的vue项目,默认都会有jsconfig或者tsconfig,那问题极有可能是打开项目文件夹的时候路径不对: 以下

    2024年03月15日
    浏览(28)
  • electron打包运行白屏、Can not find modules ‘xxx‘,Dynamic Linking Error等问题

    原因:应该写在dependencies里的写在了devDependencies,或者相反。有些依赖写反了是可以运行的,但是打包不行 在Electron项目中的package.json文件中,dependencies和devDependencies都是用来声明应用程序所依赖的npm包的。它们之间的区别在于: dependencies dependencies是指应用程序在运行时所

    2024年02月08日
    浏览(34)
  • pip安装mysqlclient报错 Exception: Can not find valid pkg-config name

    今天docker内搭建python3.10环境时报这个错误,安装 mysqlclient 时报错。 找了半天找不到为什么, 最后网上搜索到一个命令: 先安装了这个后,再安装就没问题了。 话说docker安装python环境是真的扯淡

    2024年02月09日
    浏览(36)
  • maven父工程出现Could not find artifact xxx异常

    maven错误: 错误:找不到 xxx的artifact,而这个artifact都是由relativePath标签来指定的。因此问题出在relativePath标签的指定的父工程地址写错了! 场景描述: 父工程cloud-demo聚合多个子工程,pom.xml如下: 子工程又继承了该父工程,pom如下  当对父工程执行maven指令,比如maven ins

    2024年02月12日
    浏览(45)
  • vue3 报错解决:找不到模块或其相应的类型声明。(Vue 3 can not find module)

    当我们在引入应该组件的时候 提示找不到这个组件但是项目明明就有这个物理文件 报错原因:typescript 只能理解 .ts 文件,无法理解 .vue文件 出现这样的 第一种 方法就是在env.d.ts 里面添加下面代码    如图   第二种 这个时候我们应该这样 首先 原因: 1、volar 插件没开take

    2024年03月09日
    浏览(62)
  • Can not find java process. Try to run `jps` command lists the instrumented Java HotSpot VMs

    Arthas大家都不陌生了,是ali推出的一款线上监控及调试工具,它的功能在此就不多做赘述。本文主要是解决在使用Arthas时的一个经常会遇到的报错,如下: 出现这个报错是因为找不到jps命令,我们默认安装的openjdk是不支持jps的,所以需要卸载Open JDK,安装Oracle JDK,步骤如下

    2024年02月16日
    浏览(30)
  • Ubuntu中使用yum命令出现错误提示:Command ‘yum‘ not found, did you mean:

    command ‘gum’ from snap gum (0.12.0) command ‘num’ from deb quickcal (2.4-1) command ‘yum4’ from deb nextgen-yum4 (4.5.2-6) command ‘uum’ from deb freewnn-jserver (1.1.1~a021+cvs20130302-7build1) command ‘sum’ from deb coreutils (8.32-4.1ubuntu1) command ‘zum’ from deb perforate (1.2-5.1) See ‘snap info ’ for additional versions.

    2024年02月04日
    浏览(42)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包