----- Original Message ----- 
From: "Adam R. B. Jack" <[EMAIL PROTECTED]>
To: "Gump code and data" <[EMAIL PROTECTED]>
Sent: Sunday, July 18, 2004 3:28 AM
Subject: Re: how to start with gumpy

> > > $ python gump/check.py -w ../ST999999.xml all --debug
> > > Traceback (most recent call last):
> > >   File "gump/check.py", line 29, in ?
> > >     from gump import log
> > > ImportError: No module named gump
> >
> > Now this I don't get.
> >
> > > Any ideas on what is missing?
> > > Or is it just not possible on WinXP + Cygwin?
>
> On second thoughts, I suspect (somehow) your PYTHONPATH just isn't
working.

Yes, see below.

> Are the missing imports the first in each script?

Yes.

Your comment got me thinking, so I tried setting the path as follows:

 export PYTHONPATH=C:\\cygwin\\usr\\local\\gump\\public\\gump\\python

and the import problems have disappeared.

Strange that one can use Unix-style names on the command line, but
apparently not in PYTHONPATH.

Thanks for your help.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to