LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Folks---

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?

Thanks,

Henry C. Gernhardt, III
hcgernhardt@hotmail.com
 
Old 04-23-2018, 01:40 AM   #2
coniptor
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: https://www.finninday.net/wiki/index.php/Cups_printing
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, 10:03 AM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,615

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Why did you compile that from source. Not in your repo?
Code:
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             : http://hplipopensource.com
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
https://developers.hp.com/hp-linux-i...nting/gethplip
Version on hp website is 3.18, and you compiled .8, why?
Quote:
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 10:05 AM.
 
  


Reply


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 01:01 PM
using distutils to install a python module shanenin Programming 2 11-29-2005 10:44 PM
Installing python module on webserver... = p Eleaf Linux - General 11 10-23-2005 08:07 PM
program or python module to get video demensions shanenin Programming 2 08-01-2005 01:35 PM
Help me (python and MySQLdb module) Dark Carnival Programming 2 04-22-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 PM.

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