Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: TECH: getting Kura working Q

From:Mark J. Reed <markjreed@...>
Date:Thursday, November 6, 2003, 18:04
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? 2. What version of Python are you running? You may be trying to run a 1.x module in 2.x. -Mark

Reply

Muke Tever <hotblack@...>