惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

博客园 - 听雨

Jmeter & TICK 如何在IJ中使用Jaxb2通过xml定义生成对应的Java Entity类的文件 关于KOBE 退役 2011/10/14 leave foxconn company,and join the MorningStar at 2011.10.18 http://www.rayfile.com/files/933f60a6-d0d5-11dd-a8f8-0014221b798a/ SMTP 注冊CDO.Message Bear Charactors http://pxzx.hitsz.edu.cn/pxzx/announce/show.php?announceid=156 PDF-XChange Version 3.6.0 SN wmi 屬性查詢 SQL中取得漢字拼音首字母或五筆首鍵編碼 工作日計算 Three Tier Code generation with Codesmith 修改鄒建 老師的SQL PivotTable,增加同分組非交叉欄位 JS Tool(Format) [转贴]Js中 关于top、clientTop、scrollTop、offsetTop等 类似gmail添加附件 JS -Table排序类 JavaScript 日期联动选择器
在windows下使用COSCMD时因Python版本不支持导致报SafeConfigParser不支持的错误
听雨 · 2024-04-24 · via 博客园 - 听雨

在Windows下通过pip安装COSCMD后, 使用相关命令操作Coscmd时报错,具体看错误信息是:SafeConfigParser不再支持。这是因为本地的python的版本是3.12.2,此版本已经不再支持SafeConfigParser这个类。而CosCmd的源代码是用的SafeConfigParser这个类,所以导致报错。

解决方案:

修改C:\Python312\Lib\site-packages\coscmd\cos_cmd.py这个文件,将SafeConfigParser替换为RawConfigParser(总共有3处),另外,需要将

load_conf方法中的read_file方法中的参数名改一下,改后的代码为:

 重新执行coscmd的命令即可。