Skip to content

Pyperclip does not work correctly under Linux #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aojanzen opened this issue Apr 23, 2020 · 1 comment
Closed

Pyperclip does not work correctly under Linux #46

aojanzen opened this issue Apr 23, 2020 · 1 comment

Comments

@aojanzen
Copy link

I had issues with pyperclip. Copying text to the clipboard did not work. Found the solution for my problem on the pypi page of pyperclip:

"... On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run “sudo apt-get install xclip” or “sudo apt-get install xsel” (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed."

Everything works fine now, after I have installed xclip.

@mikeckennedy
Copy link
Member

Thanks for the heads up @aojanzen I added a note about this in the your turn readme and linked back here: https://github.com/talkpython/100daysofcode-with-python-course/blob/master/days/67-69-pyperclip/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants