From 9ebd0dd401a8605b8db742d624d552f66583d56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B8=E5=AE=87?= Date: Tue, 6 Jul 2021 17:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9FAQ--=E5=A6=82=E4=BD=95?= =?UTF-8?q?=E8=A7=A3=E5=86=B3pkgs=20update=E8=BF=90=E8=A1=8C=E6=97=A0?= =?UTF-8?q?=E6=95=88=E6=88=96studio=E4=B8=8B=E8=BD=BD=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E5=8C=85=E6=97=A0=E5=93=8D=E5=BA=94=E7=9A=84=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rtthread-studio/faq/studio-faq.md | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/development-tools/rtthread-studio/faq/studio-faq.md b/development-tools/rtthread-studio/faq/studio-faq.md index 102bd07..fc2005f 100644 --- a/development-tools/rtthread-studio/faq/studio-faq.md +++ b/development-tools/rtthread-studio/faq/studio-faq.md @@ -213,32 +213,36 @@ RT-Thread Studio 为用户提供了一键解决命令行长度限制的方法, ## 如何解决pkgs update运行无效或studio下载软件包无响应 -## 问题解决适用场景: - -1. env下运行pkgs --update 无任何输出和响应,直接跳过了 - [![image-20201111182930235](C:/Users/RTT/Documents/faq/figures/pkg_update1.png)]() -2. 在RT-Thread studio下配置完点击保存时,软件包下载失效,直接输出个done就结束了,无其它日志输出 - [![image-20201111182930135](C:/Users/RTT/Documents/faq/figures/pkg_update2.png)]() +> **问题解决适用场景**: + 1. env下运行pkgs --update 无任何输出和响应,直接跳过了 + + + [![image-20201111182930235](./figures/pkg_update1.png)]() + + 2. 在RT-Thread studio下配置完点击保存时,软件包下载失效,直接输出个done就结束了,无其它日志输出 + + + [![image-20201111182930135](./figures/pkg_update2.png)]() -## 问题分析: +> **问题分析:** 可能原因有以下几种: 1. Studio安装目录下(platform/env_released/env/tools/Python27/DLLs)自带的_ssl.pyd和系统存在不兼容问题 2. Studio安装目录下python27((platform/env_released/env/tools/Python27/)下带的requests模块有问题 -## 解决方法: +> **解决方法:** -### 针对原因1解决方法: +* 针对原因1解决方法: 采用把官方py2.7安装目录下的_ssl.pyd替换studio内同名文件即可 该文件提供下载如下,请自行下载替换: -[_ssl.pyd](/figures/_ssl.pyd) +[_ssl.pyd](./figures/_ssl.pyd) ps:论坛参考帖子 -- https://club.rt-thread.org/ask/question/424358.html -### 针对原因2解决方法: +* 针对原因2解决方法: 采用把官方py2.7安装目录下的python27.dll替换studio内同名文件即可 -- Gitee