Saturday, December 5, 2015

turpial and glances error on openSUSE Leap 42.1

turpial (a Twitter client) doesn't start when started from the Menu - when started in a xterm/console the error is:

:~> turpial
Traceback (most recent call last):
  File "/usr/bin/turpial", line 5, in 
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Searching the error online shows that: installing python-setuptools which provides python-distribute resolves the issue. 

The package is missing the dependency on python-distribute.

The same is true for glances (python-glances) a monitoring tool. Glances doesn't start and shows the same "ImportError: No module named pkd_resources"


After installing python-distribute though, glances still doesn't start and gives:

 ~> glances
Curses module not found. Glances cannot start in standalone mode.


That can be resolved by installing python-curses.

No comments:

Post a Comment