OS: Debian 9
Python version: 3.5
After import pyperclip module, encounter error message ' Pyperclip could not find a copy/paste mechanism for your system. '.
Solution: install xsel utility
$ sudo apt install xsel
$ sudo apt install python3-pip
$ sudo pip3 install pyperclip
Python version: 3.5
After import pyperclip module, encounter error message ' Pyperclip could not find a copy/paste mechanism for your system. '.
Solution: install xsel utility
$ sudo apt install xsel
then reboot Python IDLE3, import pyperclip, solved.
***************
Install pip/pyperclip:
$ sudo pip3 install pyperclip
Awesome! Thanks for posting this. Solved my problem. :-)
ReplyDeleteThank you for this Catinsunshine.
ReplyDeleteTHANK YOU!!! IT WORKED
ReplyDeleteReference : https://pypi.org/project/pyperclip/
ReplyDeleteOn 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.)
Thx bro!
ReplyDeleteHi...I am working on Centos 7, I already installed xsel on my system but still facing the same issue with pyperclip , can anyone suggest something to get me out of this?
ReplyDeleteMuito obrigado pela ajuda!
ReplyDelete