ERROR: No matching distribution found for pywin32==227

Hi all,

I cannot get my app deployed on Streamlit sharing due to the need of importing the following module:

import win32com.client

My requirements file contains: pywin32==227, leading to the following error:

ERROR: No matching distribution found for pywin32==227 (from -r requirements.txt (line 1))`

Not including that line leads to the following error:

ModuleNotFoundError: No module named 'win32com'  

Is there anything else that I can try? The application is aimed at Windows users, and building the application without the module will require a lot of rework.

Thanks in advance for any help!

This discussion thread might help, please have a look

Already looked at that thread, but nothing that helped out unfortunately.

I was getting the same issue while deploying to Heroku. It is based on Linux so it does not support Windows API. I think there might be a similar issue. Try removing it or replace with a different library.