-1

I am currently working on a project which involves extracting content from PowerPoint slides to text file using python-pptx package. I tried using

!pip install python-pptx

but this error message showed up.

Does anyone know how to resolve this issue?

Dima Chubarov
  • 16,199
  • 6
  • 40
  • 76
  • 3
    Please, don't post images of code, error, data, etc. Copy/paste as text. – buran Jun 07 '22 at 11:37
  • 1
    This is not jupyter or pptx specific. There is a connection issue, so it is related to your current network/proxy settings – FlyingTeller Jun 07 '22 at 11:42
  • Also, so you know, you want to use `%pip install ` , or the related `%conda install`, when installing inside a notebook. That insures the installation is done in the environment backing the notebook. The modern magic commands were added to avoid the common issues encountered in the past when the exclamation point was used. Anything recommending an exclamation point for use with `pip` or `conda` is outdated. See [here](https://discourse.jupyter.org/t/why-users-can-install-modules-from-pip-but-not-from-conda/10722/4?u=fomightez) for more information about them. – Wayne Jun 07 '22 at 19:28

1 Answers1

-2

I think you need to update pip version and check if python-ppt works with your current version of python.

thank you