Index: config.py ================================================================== --- config.py +++ config.py @@ -379,11 +379,11 @@ else: method = r"[{}[{}]".format(self.colors.get(method.split("_")[0], "47m"), method) # output print( method + " " + " " . join( - format_exc(a) if isinstance(a, Exception) else str(a) for a in args + format_exc() if isinstance(a, Exception) else str(a) for a in args ), file=sys.stderr ) # Colors Index: pq.py ================================================================== --- pq.py +++ pq.py @@ -24,12 +24,13 @@ # disable use pq = None config.conf.pyquery = False # error hint - config.log.ERR("LXML is missing\n", e) - config.log.ERR("Please install the packages python-lxml and python-pyquery from your distributions software manager.\n") + config.log.ERR("LXML/PyQuery is missing", e) + config.log.INFO("Please install the packages python-lxml and python-pyquery from your distributions software manager.") + config.log.INFO("Or via `pip install pyquery`\nOr `pip3 install pyquery`") # let's invoke packagekit? """ try: