嵌入式技术论坛
直播中

李娟

7年用户 1301经验值
私信 关注
[问答]

RTStudio 2.0.0 安装PlatformIO 5.0.3.12失败?

RTStudio 2.0.0 安装PlatformIO 5.0.3.12未检测到PlatformIO可执行环境,配置环境失败,请重新安装?
按照提示重启环境后也无法解决问题。


回帖(6)

张艳

2023-5-17 11:14:41
重新勾选下载一直安装失败吗? 错误截图出来看看,同时将安装目录下 workspace/metadata 下的 .log文件发出来看看

举报

李娟

2023-5-17 11:14:48
您好 这是我的图片和log文件。还麻烦您帮忙看一下,谢谢!
1.jpg
举报

张艳

2023-5-17 11:14:54
看日志似乎是权限问题造成 安装过程中调用platformio.exe 被拒绝访问,试试用管理员权限运行studio
1.jpg
举报

李娟

2023-5-17 11:15:02
按照您的方法试过了,但还是安装不上,依旧提示拒绝访问。
举报

张艳

2023-5-17 11:15:08
看起来是 C:\\Users\\Administrator\\.platformio\\penv\\Scripts\\platformio.exe 文件在运行中,导致studio 的安装程序无法删除该文件 安装platformio 环境。
可以尝试的方法:

关闭可能调用platformio.exe 的应用,包含其他platformio 开发环境,比如vscode
手工删除C:\\Users\\Administrator\\.platformio\\penv\ 文件夹
举报

李娟

2023-5-17 11:15:20
感谢回答,按照您说的方式操作了一下。在下载一个文件的时候卡住了(147kb大小的文件),后来我在VSCode上能成功安装PlatformIO了。应该就是您说的问题造成的。非常感谢!
这是今天的log

TRY org.eclipse.launchbar.core 2 0 2020-12-24 09:57:48.328
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2020-12-24 09:57:48.328
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.rt-thread.studio.project.ui 4 0 2020-12-24 09:57:58.352
!MESSAGE Send or Reveive Pin Name is Null
!ENTRY org.rt-thread.studio.project.ui 4 0 2020-12-24 09:57:58.362
!MESSAGE Send or Reveive Pin Name is Null
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:01:34.914
!MESSAGE The platformIO installation process is being executed, it may take more than 10 minutes, please be patient...
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:01:35.504
!MESSAGE rt_studio_version: 2.0.0
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:01:35.724
!MESSAGE Long path support has enabled
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:01:35.734
!MESSAGE ************* Copy and install platformio packages (Step 1/2) ***************
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:01:35.734
!MESSAGE Copying packages...
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:04:06.426
!MESSAGE Copying platforms...
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:04:16.867
!MESSAGE Copying other files...
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:04:16.877
!MESSAGE Copying python environment...
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:05:49.788
!MESSAGE ************* Create platformio environment (Step 2/2) ***************
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:05:52.872
!MESSAGE Installer version: 0.3.5
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:05:52.874
!MESSAGE Platform: Windows-10
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:05:52.875
!MESSAGE Python version: 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:05:52.876
!MESSAGE Python path: C:\\Users\\Administrator\\.platformio\\.rt_studio\\python377x64\\python.exe
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:02.929
!MESSAGE Creating a virtual environment at C:\\Users\\Administrator\\.platformio\\penv
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.764
!MESSAGE Updating Python package manager (PIP) in a virtual environment
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.765
!MESSAGE C:/Users/Administrator/.platformio/.rt_studio/python377x64/lib/site-packages/pioinstaller/../../../.rt_global
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.766
!MESSAGE cn
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.767
!MESSAGE C:\\Users\\Administrator\\.platformio\\.rt_studio\\python377x64\\lib\\site-packages\\pioinstaller\\get-pip.py
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.768
!MESSAGE Virtual environment has been successfully created!
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:25.769
!MESSAGE Installing PlatformIO Core
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:27.292
!MESSAGE Looking in indexes
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:27.304
!MESSAGE Collecting platformio
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:28.117
!MESSAGE   Downloading (213kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:41.183
!MESSAGE Collecting bottle<0.13 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:06:42.070
!MESSAGE   Downloading (89kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:08.260
!MESSAGE Collecting click!=7.1,!=7.1.1,<8,>=5 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:09.432
!MESSAGE   Downloading(82kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:14.589
!MESSAGE Collecting colorama (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:15.841
!MESSAGE   Downloading
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:15.930
!MESSAGE Collecting pyserial!=3.3,<4,>=3 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:16.297
!MESSAGE   Downloading(90kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:17.392
!MESSAGE Collecting requests<3,>=2.4.0 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:18.586
!MESSAGE   Downloading  (61kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:19.776
!MESSAGE Collecting semantic_version<3,>=2.8.1 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:20.421
!MESSAGE   Downloadingl
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:20.517
!MESSAGE Collecting tabulate<1,>=0.8.3 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:20.855
!MESSAGE   Downloading
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:22.123
!MESSAGE Collecting pyelftools<1,>=0.25 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:22.471
!MESSAGE   Downloading  (151kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:25.985
!MESSAGE Collecting marshmallow>=2 (from platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:28.871
!MESSAGE   Downloading (46kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:33.275
!MESSAGE Collecting chardet<5,>=3.0.2 (from requests<3,>=2.4.0->platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:45.884
!MESSAGE   Downloading (178kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:47.828
!MESSAGE Collecting urllib3<1.27,>=1.21.1 (from requests<3,>=2.4.0->platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:48.276
!MESSAGE   Downloading  (136kB)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:07:58.085
!MESSAGE Collecting certifi>=2017.4.17 (from requests<3,>=2.4.0->platformio)
!ENTRY org.rt-thread.studio.common.ui 1 0 2020-12-24 10:08:20.759
!MESSAGE   Downloading  (147kB)
!SESSION 2020-12-24 11:21:26.802 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86_64
举报

更多回帖

发帖
×
20
完善资料,
赚取积分