Page MenuHomeSolus

system-config-printer fails to launch
Closed, InvalidPublic


I have not tried to launch system-config-printer since the upgrade to python 3.6. Now when launching system-config-printer it fails to launch and gives the following error:

Traceback (most recent call last):

File "/usr/share/system-config-printer/", line 76, in <module>
  import cupshelpers
File "/usr/lib/python3.6/site-packages/cupshelpers/", line 60, in <module>
  from . import openprinting
File "/usr/lib/python3.6/site-packages/cupshelpers/", line 22, in <module>
  import requests, urllib.request, urllib.parse, urllib.error, platform, threading, tempfile, traceback
ModuleNotFoundError: No module named 'request'

Event Timeline

sunnyflunk added a subscriber: sunnyflunk.EditedFeb 15 2018, 2:55 AM

Run this:

sudo eopkg up
sudo eopkg install python-requests

I'll try and figure out where it's meant to go

**EDIT make sure you do a FULL update

perkinsjs83 added a comment.EditedFeb 15 2018, 3:04 AM

My system is fully up to date and package python-requests is already installed.

EDIT: Ran both commands again anyway just to be sure.

system-config-printer still gives the same error.

Do you use pip3 at all? That will have destroyed python with incompatible libraries

Also validate your packages:

sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall

It opens without issue for me

I dont recall having ever use pip3. I ran the command you listed and it didn't return anything.

As an afterthought I reinstalled python-requests and python-urllib3 and now it opens and functions as normal.

sunnyflunk closed this task as Invalid.Feb 15 2018, 5:26 AM