Narrowing down a bit more, this can also be reproduced with the following python script:
#!/usr/bin/env python
import gtk
import gi
The 2 lines of code that appear to be conflicting are:
1) /usr/lib/python2.7/dist-packages/keyrings/alt/Gnome.py
import gi
2) /usr/lib/python2.7/dist-packages/pyperclip/clipboards.py
import gtk
Narrowing down a bit more, this can also be reproduced with the following python script:
#!/usr/bin/env python
import gtk
import gi
The 2 lines of code that appear to be conflicting are: python2. 7/dist- packages/ keyrings/ alt/Gnome. py python2. 7/dist- packages/ pyperclip/ clipboards. py
1) /usr/lib/
import gi
2) /usr/lib/
import gtk
And if I understand correctly from https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 709183, this is importing gtk+2 modules via 'import gtk' as well as gtk+3 modules via 'import gi'.
From http:// www.pygtk. org/: Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2.
So it seems to me that pyperclip in artful needs to move to GTK+3.