我的技术分享
首页
搜索
归档
洛潆
文章
71
分类
2
标签
41
归档
搜索
分类
标签
技术分享
🗒️解决python-pptx报错问题
发布于: 2023-8-9
最后更新: 2025-10-18
次查看
Python
ppt
password
type
Last edited time
Oct 18, 2025 12:28 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 许可协议,转载请注明出处。
相关文章
C3D8
塑性区面积计算
使用Python调用origin模板批量出图
使用Python画等值线图
Pandas常用语法
Python使用matplotlib创建两个图例,放到左右两侧
正则表达式vscode使用code-runner插件运行python中文乱码
洛潆
洛潆
哲学爱好者
文章
71
分类
2
标签
41
最新发布
CLion调试
2025-10-18
Abaqus输出单元刚度矩阵
2025-10-18
C3D8
2025-10-18
查看exe运行需要的dll(动态链接库)
2025-10-18
Excel创建映射关系
2025-10-18
在Linux系统使用conda
2025-10-18
2021-2025 洛潆.

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

Powered by NotionNext 4.0.15.