You are not logged in.
So i installed both of these terminals to try them out and they are not launching. Starting them from gnome-terminal gives this output:
[redy@RedyPC ~]$ guake
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/site-packages/guake/main.py", line 28, in <module>
import gtk
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: No module named cairo
[redy@RedyPC ~]$
When i try to run terminator i have this output
[redy@RedyPC ~]$ terminator
Traceback (most recent call last):
File "/usr/bin/terminator", line 23, in <module>
import psutil
ImportError: No module named psutil
I tried using "pip install psutil", but it didn't help. It still ends with the same error.
Last edited by redy123 (2016-12-26 23:18:05)
Offline
guake: seems python2-cairo is not installed
terminator: seems python2-psutil is not installed
How did you install the programs? If you install them with pacman the packges should be installed as dependencies. automatically
Offline
On Arch, it is better to not use pip. Use pacman
ewaller@turing ~ 1001 %pacman -Ss psutil
extra/psutils 1.17-5 [installed]
A set of postscript utilities
community/python-psutil 5.0.1-1
A cross-platform process and system utilities module for Python
community/python2-psutil 5.0.1-1
A cross-platform process and system utilities module for Python2
ewaller@turing ~ 1002 %Note that the package you need is available in the repositories. Also, note that the default Python on Arch Linux is version 3.x. You need to install the Python2 version of the package.
Oh, And Welcome to Arch Linux ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Welcome to the arch linux forums redy123.
guake has a dependency on python2-gconf which has a dependency on pygtk which has a dependency on python2-cairo.
terminator has a dependency on python2-psutil.
So how did you install guake and terminator?
$ pip -V
pip 9.0.1 from /usr/lib/python3.5/site-packages (python 3.5)On arch pip and python refer to the python 3 versions so would not resolve a python 2 issue.
pip install psutilAs you did not specify the --user option I assume you ran this command as root so the files are installed system wide but not tracked by pacman, this is not recommended.
edit:
grammar by not as
Last edited by loqs (2016-12-26 19:22:33)
Offline
I installed terminator and guake using "sudo pacman -S terminator/guake". Now i get this:
[redy@RedyPC ~]$ terminator
ConfigBase::load: Unable to open /home/redy/.config/terminator/config ([Errno 2] Nie ma takiego pliku ani katalogu: '/home/redy/.config/terminator/config')
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.
second line says there is no file or directory '/home/redy/.config/terminator/config
And this:
[redy@RedyPC ~]$ guake
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/site-packages/guake/main.py", line 45, in <module>
from guake.guake_app import Guake
File "/usr/lib/python2.7/site-packages/guake/guake_app.py", line 29, in <module>
import keybinder
ImportError: No module named keybinder
I have no ide why pacman didn't (or not correctly) installed dependencies.
Offline
What is the output of
$ pacman -Qkk python2-cairo python2-psutilOffline
[redy@RedyPC ~]$ pacman -Qkk python2-cairo python2-psutil
python2-cairo: w sumie 14 plików, 0 zmienionych plików
python2-psutil: w sumie 80 plików, 0 zmienionych plików
14 files in total, 0 changed files
80 files in total, 0 changed files
Offline
Between posts #1 and #5 did you reinstall any packages?
Offline
I tried pacman -S python2-cairo and pacman -S python2-psutil
Offline
What is the output of
$ LC_ALL=C pacman -QkkPlease use code tags for command output not quote tags it makes a difference to longer outputs such as the one this command should generate.
Offline
I just got bilion of warnings in this output, most of them from android studio for some reason. I couldn't put it here (over the limi), i couldn't paste it to pastebin, so i upload it to some server, hope it works:
http://s000.tinyupload.com/index.php?fi … 9443545279
Last edited by redy123 (2016-12-26 23:01:54)
Offline
aside from android-studio your output indicates the following packages are all missing files
libglade libkeybinder2 pygobject2-devel python2-keybinder2 python2-notify media-player-infoWould do a full system update then reinstall all the above packages.
Offline
Well okey, Thank you
after reinstalling those packages terminator and guake works correctly. As for android studio i think i had some hardware issues while installing. After reinstall everything should be fine. Much thanks for help. I think i lerned some basic troubleshooting on arch. Changing to solved.
Offline