Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: TECH: getting Kura working Q

From:Muke Tever <hotblack@...>
Date:Thursday, November 6, 2003, 18:21
On Thu, 6 Nov 2003 13:04:19 -0500, Mark J. Reed <markjreed@...> wrote:

> On Thu, Nov 06, 2003 at 09:13:50AM -0700, Muke Tever wrote: >> File "/usr/local/share/kura/kura.py", line 13, in ? >> from kuraclient import main >> ImportError: cannot import name main >> >> Now, 1) my Python knowledge is nil, and 2) googling for 'cannot import >> name' produces nothing helpful (mostly messages like this regarding >> other >> apps, and replies to same saying to get the latest version of said app). >> [Also 3) main.py _is_ extant in kuraclient/ .] > > The problem isn't the lack of a "main" in kuraclient; the problem is > that "main" is a reserved name in Python, which you aren't allowed to > import from another module. > > 1. Where did you get kura?
http://www.valdyas.org/linguistics/ Specifically, http://www.xs4all.nl/~bsarempt/downloads/kura-2.0-2.1.2.noarch.rpm
> 2. What version of Python are you running? > > You may be trying to run a 1.x module in 2.x.
It's Python 2.1.3. *Muke! -- http://frath.net/ http://kohath.livejournal.com/ E jer savne zarjé mas ne (You put music in my heart Se imné koone'f metha And with the spirit of an artist Brissve mé kolé adâ. I will make the dreamtime)

Reply

Carsten Becker <post@...>