Pyperclip error on Linux
Closed this issue · 1 comments
jjfalling commented
On some Linux distros the clipboard feature fails with:
AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Needs asweigart/pyperclip#106 to fix this issue. In the mean time running from a virtual env should work around the problem.
jjfalling commented
https://pypi.org/project/pyclip/ appears to be a suitable replacement.