Skip to content
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

Pyperclip error on Linux #4

Closed
jjfalling opened this issue Feb 2, 2019 · 1 comment · Fixed by #18
Closed

Pyperclip error on Linux #4

jjfalling opened this issue Feb 2, 2019 · 1 comment · Fixed by #18

Comments

@jjfalling
Copy link
Owner

jjfalling commented Feb 2, 2019

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
Copy link
Owner Author

https://pypi.org/project/pyclip/ appears to be a suitable replacement.

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

Successfully merging a pull request may close this issue.

1 participant