当前位置: 首页 > news >正文

网站建设信息平台win7优化

网站建设信息平台,win7优化,坂田网站设计,长沙做网站多少钱安装PlatformIO插件成功,初始化失败 错误信息判断问题尝试访问https://pypi.tuna.tsinghua.edu.cn/simple/platformio/成功点击文件后报错如下: 解决问题- 换源 ( Windows下有两个地方需要更改)cmd命令行Pip文件 总结:…

安装PlatformIO插件成功,初始化失败

  • 错误信息
  • 判断问题
    • 尝试访问https://pypi.tuna.tsinghua.edu.cn/simple/platformio/成功
    • 点击文件后报错如下:
  • 解决问题- 换源 ( Windows下有两个地方需要更改)
    • cmd命令行
    • Pip文件
  • 总结:最终还是回到换源上,删除重装都没用。

错误信息

VSCode: 1.81.0
PIO IDE: v3.3.1
System: Windows_NT, 10.0.19044, x64

%23 Exception

Error:   ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages/a9/e1/57ea5e5cce83586b7c4a5b456c77fd7154a80e1a649a79d59e9e54b06cf9/platformio-6.1.9-py3-none-any.whl%23sha256=045b1b950e7f237a56c2e6fddbd0115ea024dc9adb716d4cc35fab56a1d0eb14 (from https://pypi.tuna.tsinghua.edu.cn/simple/platformio/) (requires-python:>=3.6)
ERROR: Could not install requirement platformio from https://pypi.tuna.tsinghua.edu.cn/packages/a9/e1/57ea5e5cce83586b7c4a5b456c77fd7154a80e1a649a79d59e9e54b06cf9/platformio-6.1.9-py3-none-any.whl%23sha256=045b1b950e7f237a56c2e6fddbd0115ea024dc9adb716d4cc35fab56a1d0eb14 because of HTTP error 403 Client Error: Forbidden for url: https://pypi.tuna.tsinghua.edu.cn/packages/a9/e1/57ea5e5cce83586b7c4a5b456c77fd7154a80e1a649a79d59e9e54b06cf9/platformio-6.1.9-py3-none-any.whl for URL https://pypi.tuna.tsinghua.edu.cn/packages/a9/e1/57ea5e5cce83586b7c4a5b456c77fd7154a80e1a649a79d59e9e54b06cf9/platformio-6.1.9-py3-none-any.whl%23sha256=045b1b950e7f237a56c2e6fddbd0115ea024dc9adb716d4cc35fab56a1d0eb14 (from https://pypi.tuna.tsinghua.edu.cn/simple/platformio/) (requires-python:>=3.6)[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: C:\Users\Administrator\.platformio\penv\Scripts\python.exe -m pip install --upgrade pip
Error: Could not install PlatformIO Core: If you have antivirus/firewall/defender software in a system, try to disable it for a while.
Command '['C:\\Users\\Administrator\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.1
Platform: Windows-10
Python version: 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Python path: C:\Users\Administrator\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Administrator\.platformio\penv
Updating Python package manager (PIP) in a virtual environment
Virtual environment has been successfully created!
Installing PlatformIO Core
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting platformioat c:\Users\Administrator\.vscode\extensions\platformio.platformio-ide-3.3.1\node_modules\platformio-node-helpers\dist\index.js:1:5300at ChildProcess.c (c:\Users\Administrator\.vscode\extensions\platformio.platformio-ide-3.3.1\node_modules\platformio-node-helpers\dist\index.js:1:4598)at ChildProcess.emit (node:events:513:28)at ChildProcess.emit (node:domain:489:12)at maybeClose (node:internal/child_process:1121:16)at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

判断问题

尝试访问https://pypi.tuna.tsinghua.edu.cn/simple/platformio/成功

点击文件后报错如下:

在这里插入图片描述

解决问题- 换源 ( Windows下有两个地方需要更改)

cmd命令行

C:\Users\Administrator>npm get registry
C:\Users\Administrator>npm config set registry http://mirrors.aliyun.com/pypi/simple/

Pip文件

文件路径:C:\Users\(你的用户名)\AppData\Roaming\pip

文件名字 pip.ini (如果没有可以自行创建)

[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
use-mirrors=true
mirrors=http://mirrors.aliyun.com/pypi/simple/
trusted-host=mirrors.aliyun.com

总结:最终还是回到换源上,删除重装都没用。

http://www.shuangfujiaoyu.com/news/22807.html

相关文章:

  • 闵行区网站比较正规的代运营
  • 大学生个人简历word免费模板seo网站查询工具
  • 阿里巴巴日文网站建设代理seo快速排名优化公司
  • 哪家小吃培训网站做的最好站长之家音效素材
  • 有什么可以做翻译的网站吗windows优化大师会员
  • java做网站用什么做网站开发详细流程
  • 新房地产网站开发外包网络推广公司怎么选
  • 茂名制作网站软件百度竞价排名机制
  • 如何提高网站收录数百度关键词排名联系方式
  • 公司网站建设请示昆明网站开发推广公司
  • 网页设计入门 电子书下载广东百度seo关键词排名
  • 外国网站做b2b的百度一下百度搜索百度
  • f2fpay wordpressseo服务外包
  • 商务网站开发的流程电商运营主要工作内容
  • wp网站怎么用插件做html网页seo运营是做什么的
  • 什么网站可以直接做word怎么做seo网站关键词优化
  • 网站静态化 好处电商网站建设教程
  • 免费的黄冈网站有哪些平台软件自动点击器app
  • 咖啡店网站建设模版优化网站建设seo
  • 东台网站建设服务商百度推广怎么优化排名
  • 郴州做网站 郴网互联重大军事新闻最新消息
  • 做门窗安装去哪些网站找生意广告大全
  • 上海注册公司费用及流程免费智能seo收录工具
  • qq互联 网站建设不完善网站seo优化建议
  • 汽车网站制作标题优化seo
  • 怎样做网站备案百度 营销推广靠谱吗
  • 自己做ppt网站吗安徽网络建站
  • 羽毛球赛事策划方案十堰seo排名公司
  • 模板建网站价格网站建设情况
  • wordpress网站百度数据搜索引擎优化的主要特征