-1

Tried to install the pip install pypiwin32 in Google Colab for reading outlook emails. But the installation keeps on getting failed.

enter image description here

Tried by downgrading the python version to 3.9 as well, but didn't worked.

Any suggestions for fixing the issue?

Pravin
  • 241
  • 2
  • 14
  • You want https://pypi.org/project/pywin32/#files. *PyPiWin32* is garbage. https://stackoverflow.com/q/49307303/4788546. – CristiFati Jan 17 '23 at 19:49

2 Answers2

1
  • Are you running it actually on Windows? If no, it pyiwin32 only is supported for Windows
  • Try using pip install --no-cache-dir pyiwin32
kaliiiiiiiii
  • 925
  • 1
  • 2
  • 21
0

Tried installing !pip install pypiwin32 in Jupyter notebook, it works like a charm.

But didn't worked in colab.

Pravin
  • 241
  • 2
  • 14
  • 1
    What type of compute did it work like a charm on? Minor point: You'll have better luck going forward with Jupyter using the magic install and not the exclamation point. `%pip install pypiwin32`. The magic command insures the installation occurs in the proper environment that the kernel underlying the notebook is using. The exclamation point alone doesn't do that & can lead to issues sometimes. See [here](https://discourse.jupyter.org/t/why-users-can-install-modules-from-pip-but-not-from-conda/10722/4?u=fomightez) for more about the modern `%pip install` magic command. (Also a conda one, too.) – Wayne Jan 26 '23 at 22:22
  • I see Kalliii pointed this out above 10 days agao, but still you wrote today that it didn't work in colab. You aren't going to get it to work colab as that is a linux based system that underlies Google Colab. – Wayne Jan 26 '23 at 22:23