我的技术分享
首页
搜索
归档
Github
ChatGPT
洛潆
文章
70
分类
3
标签
37
Github
ChatGPT
归档
搜索
分类
标签
技术分享
🗒️解决python-pptx报错问题
发布于: 2023-8-9
最后更新: 2023-8-10
次查看
Python
ppt
password
type
Last edited time
Aug 10, 2023 02:50 AM
status
slug
summary
tags
category
Created time
Aug 9, 2023 01:21 PM
icon
💡
问题如下:
AttributeError: module 'collections' has no attribute 'Container' (python-pptx)
I am using python-pptx and wrote a script to edit a folder full of powerpoint files. This script worked perfectly fine when I finished it but when I opened it up the next day I got this error:
AttributeError: module 'collections' has no attribute 'Container' (python-pptx)
https://stackoverflow.com/questions/72588328/attributeerror-module-collections-has-no-attribute-container-python-pptx
AttributeError: module 'collections' has no attribute 'Container' (python-pptx)
💡
collections.Container 自 3.3 起已弃用,并在 3.10 中删除,可以安装pip install python-pptx-fix解决此问题:
 
  • 作者:洛潆
  • 链接:https://tangly1024.com/article/pptx-fix
  • 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章
塑性区面积计算
使用Python调用origin模板批量出图
使用Python画等值线图
Pandas常用语法
Python使用matplotlib创建两个图例,放到左右两侧
Python matplotlib更改图例顺序
正则表达式vscode使用code-runner插件运行python中文乱码
洛潆
洛潆
哲学爱好者
文章
70
分类
3
标签
37
最新发布
Abaqus输出单元刚度矩阵
2025-6-29
vscode使用code-runner插件运行python中文乱码
2025-6-16
在Linux系统使用conda
2025-6-16
解决github可以访问,但git无法push
2025-6-5
Linux基本操作
2025-3-23
abaqus-script常用语法
2024-11-30
2021-2025 洛潆.

我的技术分享 | 哲学爱好者

Powered by NotionNext 4.0.15.