Copypaste issue (pyperclip 1.8.1)


This is my first shared app and everything works fine except when you click on st.button which invokes to pyperclip module.

It appears the following error:

I assume I have to install xclip or something similar but I don’t know from where I can do that.

Any help much appreciated.

Hi @VerbisAnimae, welcome to the Streamlit community!

In order to install system packages on Streamlit sharing, you can create a packages.txt file:


Sorry for the late response @randyzwitch.

Thank you so much for your help. I tried and it worked. :slightly_smiling_face:

1 Like