scanny / python-pptx

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

python 3.11 compatabilty? #854

Open Corvettemina opened 1 year ago

Corvettemina commented 1 year ago

I am trying to install python-pptx on python 3.11 and it is not working any advice

MartinPacker commented 1 year ago

What happens when you try? (I need to test my package that uses python-pptx on 3.11 soon - else my users will raise an Issue on my repo, too.) :-)

Corvettemina commented 1 year ago

It fails the pip install. Had to switch to Python 3.7 I think it'll work with 3.9 but I had 3.7 already installed so went with that.

anthonymak2000 commented 1 year ago

I recently tried to install it with Python 3.11 a few days ago. It refused the pip install because lxml, one of the dependencies, failed to install, due to an error with libxml2. Following the advice from this link, I was able to get it working on my machine.