scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.28k stars 502 forks source link

Pptx on python 3.11 #863

Open RomanHnizdiukh opened 1 year ago

RomanHnizdiukh commented 1 year ago

Hello, I've installed new version of python 3.11, and wanted to install pptx module, but it seams there is some issue which I' cant solve. Not sure if pptx is available also within the new version of python ? image image

MartinPacker commented 1 year ago

No, it's not ready for 3.11. There is an open issue for that, I believe. I think 3.9.x is the latest supported but I'd love to be proven wrong.

(Would help if you mentioned if there was some essential function in 3.10 or 3.x you actually need.)

Kugeleis commented 1 year ago

I found a hint here: https://github.com/ssine/pptx2md/issues/22#issuecomment-1000367136 and tried it and works in python 3.11

robertmozwa commented 1 year ago

I am a newbie in my Python knowIedge. I was having an attribute error with the collections module I have Python 3.11 and couldn't solve it. I stumbled upon a solution by writing the statement 'import docx' and it worked for me. I have a text document that converts it to Powerpoint slides.