LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-23-2005, 02:59 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Unhappy ImportError: cannot import name ext


I got the application installed correctly, but now I'm seeing this when I try to run it from the commandline:

[laura@cleopatra ~]$ whale
Traceback (most recent call last):
File "/usr/bin/whale", line 16, in ?
from whale import Whale
File "/usr/lib/python2.2/site-packages/whale/__init__.py", line 11, in ?
from Whale import Whale
File "/usr/lib/python2.2/site-packages/whale/Whale.py", line 12, in ?
from xml.dom import Node, ext
ImportError: cannot import name ext
[laura@cleopatra ~]$

Does anyone know what this means? The application is written in python and uses pyperl. I installed pyperl successfully, and have an acceptable version of python installed - I just don't know what else it wants. Google is no help at all...

Thanks in advance!
-Laura
 
Old 02-23-2005, 06:02 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Did you install 2.3,and what distro?
 
Old 02-23-2005, 09:49 PM   #3
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Original Poster
Rep: Reputation: 30
Version 2.3 of what? Python, perl, something I'm missing?

And Slack 9.0 -

-Laura
 
Old 02-23-2005, 09:58 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
http://www.icewalkers.com/Linux/Soft...200/Whale.html
 
Old 02-24-2005, 08:39 AM   #5
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Original Poster
Rep: Reputation: 30
No, I had version 0.2. and there seems to be no make uninstall, so I'm stuck with it. On the grounds that I couldn't really screw anything up more than it already is, I downloaded 0.2.3 and installed that over top of 0.2.

Result: same error message, although now it's on line 23 instead of 16, and on 13 rather than 12 :-)

Random question - this wouldn't have anything to do with the fact that although I have the gnome libraries installed, I don't actually *use* gnome...would it?
 
Old 02-24-2005, 02:05 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I just tried to install it and it is old,it uses python 2.2.I would try to find something else.
http://www.freedos.org/jhall/ipod/
I don't have one so don't really know what you need

Last edited by comprookie2000; 02-24-2005 at 02:08 PM.
 
  


Reply



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: Idle: ImportError: cannot import name sleep Joe Soap Linux - Newbie 1 10-01-2005 01:52 AM
gDesklets: ImportError: could not import bonobo.ui Frankk Linux - Software 9 04-10-2005 05:30 PM
importerror - pygtk cs-cam Linux - Newbie 5 01-31-2005 07:56 AM
Import sys ?bash: import: command not found joirnange Linux - Newbie 4 12-28-2004 10:33 PM
Filesystems: ext 2, ext 3, reiserfs. Which one? r3dhatter Linux - Newbie 12 07-15-2004 12:53 AM

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

All times are GMT -5. The time now is 03:56 AM.

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
Open Source Consulting | Domain Registration