On 03/10/10 16:19, Jacek Kałucki wrote:
> Użytkownik Ricardo Araoz napisał:
>
>> Hi,
>> Ubuntu 10.04 here. Installed Dabo without a problem but hit the
>> dreadful "No module named aui" error. Looked up some previous reports
>> and have a few conclusions to report.
>> When in python you do an "import wx" it's 2.6 that gets imported. That's
>> because you have "python-wxgtk2.6" package installed. If you remove this
>> package then everything works ok.
>> Cons : it will also uninstall "Kiki" and "SPE".
>> So, it will do for now. But it would be nice to find a way to select
>> which wx version to import, or to change the order the path gets
>> explored when using dabo.
>> Any ideas?
>>
>>
> Hi.
>
> At the beginning of main module, before 'import dao', add the following
> code:
> import wxversion
> wxversion.select('2.8')
>
> Select version you wish to use and have installed of course.
>
>
Thanks Jacek, that should do it.
Ed, considering you need 2.8, could those two lines be added to dabo?
Instead of wxversion.select() it might be better
wxversion.ensureMinimal('2.8') (within a try/except?).
It would allow me to run 'python dShell.py' or similar stuff without
jumping though loops.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]