Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-15-2005, 12:16 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
no python module base.g?


I have compiled and installed hplip 0.8.4, and am slightly frustrated by the following when I try to open the toolbox:

Traceback (most recent call last):
File "/usr/hplip/toolbox", line 32, in ?
from base.g import *
ImportError: No module named base.g

Any ideas as to what I am missing?


Henry C. Gernhardt, III
Old 04-23-2018, 12:40 AM   #2
LQ Newbie
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
Cause and Solution

I was having trouble printing and hadn't dug deeper into it until today.
I searched and turned up this link:
The issue at stated at the link was the hplip was not installed. It had been.
I had hplip-libs and hplip-common when I checked, and I didn't recall uninstalling hplip my self so I'm guessing a previous rpm script did for some reason.
Anyway, installed hplip hplip-gui which also pulled in python-reportlab and restarted cups and I was able to print a test page across the network to my network printer.
Try re-installing hplip.
Old 04-24-2018, 09:03 AM   #3
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,452

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
Why did you compile that from source. Not in your repo?
pacman -Si hplip
Repository      : extra
Name            : hplip
Version         : 3.17.11-1
Description     : Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and
                  some LaserJet
Architecture    : x86_64
URL             :
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : python-dbus  ghostscript  net-snmp  foomatic-db-engine
Optional Deps   : cups: for printing support
                  sane: for scanner support
                  xsane: sane scanner frontend
                  python-pillow: for commandline scanning support
                  python-reportlab: for pdf output in hp-scan
                  rpcbind: for network support
                  python-pyqt5: for running GUI and hp-toolbox
                  python-gobject: for running hp-toolbox
                  libusb: for advanced usb support
                  wget: for network support
Conflicts With  : None
Replaces        : None
Version on hp website is 3.18, and you compiled .8, why?
Any ideas as to what I am missing?
Yes, line 32 of /usr/hplip/toolbox is "load everything from a module named base.g" You don't have that installed.

I advise you to take your email address off of the forum unless you want to get spammed by who knows what.

Edit: Oh Shoot, Old thread, didn't see that.

Last edited by teckk; 04-24-2018 at 09:05 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PYTHON svn module needed with Trac humbletech99 Programming 0 11-30-2005 12:01 PM
using distutils to install a python module shanenin Programming 2 11-29-2005 09:44 PM
Installing python module on webserver... = p Eleaf Linux - General 11 10-23-2005 07:07 PM
program or python module to get video demensions shanenin Programming 2 08-01-2005 12:35 PM
Help me (python and MySQLdb module) Dark Carnival Programming 2 04-22-2004 07:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration