Hi
On 19 Jul 2007, at 1:36 AM, pyg...@li... wrote:
> Hi,
>
> I'm trying to give pyGEF a try, but I'm getting:
>
> Traceback (most recent call last):
> File "pyGEFDemo.py", line 45, in <module>
> from enthought.traits.ui.api import View, Item, ListEditor
> ImportError: No module named api
>
It looks like you are missing traits.ui. At the moment you need to =20
install at least traits and traits.ui, and all there dependences.
I know that it is a real pain to install traits at the moment, but it =20=
has gotten a lot better in the last month or two that I have been =20
using it. I gave a lot of feedback to Rick how is writing the =20
enstaller. The problem is that the installation instructions on their =20=
wiki is a bit out of date. I will set up a document with the =20
requirements and installation instructions. Dave said that everything =20=
at enthought should be sorted out in about a month or two.
>
> I've just installed traits 1.1 from the enthought site, but it does =20=
> not,
> indeed have a enthought.traits.ui.api module.
>
> What version should I be using?
>
traits 3 - The unstable branch on there svn
> Note that there has been discussion on the matplotlib list recently
> about using Traits with matplotlib. =46rom that discussion:
>
> """
> Well, I do suggest that matplotlib start using Traits 3 rather than
> Traits 2. Otherwise, they will need to switch later.
> """
>
> Which probably applies to this project too.
>
Jip
> -Chris
>
>
> --=20
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chr...@no...
>
> ----------------------------------------------------------------------=20=
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> pyGEF-develop mailing list
> pyG...@li...
> https://lists.sourceforge.net/lists/listinfo/pygef-develop
Retief Gerber
Lektor
Lecturer
Departement Elektriese en Elektroniese Ingenieurswese
Department of Electrical and Electronic Engineering
Tel: +27 21 808 4011 I Faks/Fax: +27 21 808 4981
E-pos/E-mail: hrg...@su...
Universiteit Stellenbosch University
Privaat Sak/Private Bag X1 Matieland 7602
Suid-Afrika/South Africa
www.eng.sun.ac.za
=EF=BF=BC
|