I don’t know why I am getting this error!
Even though I have version 301 pywin32 installed in my virtual environment.
Hi @mingjun1120, welcome to the Streamlit community!!
The pywin32 module provides access to many of the Windows APIs from Python. Apps deployed to Streamlit sharing are executed in a Linux environment. As such, pywin32 fails to install on non-Windows systems, including Streamlit sharing.
To fix the error, remove both pywin32 and pywinpty from lines 64 and 65 of your requirements.txt
file.
Once you make the changes, and reboot your app, it should successfully deploy!
Happy Streamlit-ing!
Snehan
1 Like
I see. Thanks