On Sat, 2008-11-01 at 07:11 -0500, Ed Leafe wrote:
> On Nov 1, 2008, at 7:00 AM, Iain Simpson wrote:
> 
> >>    How did you install it? Using apt-get, or by building from source?
> >
> > apt-get (see  http://wiki.wxpython.org/InstallingOnUbuntuOrDebian)
> 
>       That's odd - it certainly should have installed it correctly. Maybe  
> you have multiple versions of Python on your machine, and it was  
> installed in an older version? Just grasping at straws here.
> 
>       I'd recommend using apt to remove and then re-install. You should be  
> able to type "import wx" from a Python session when it is installed  
> correctly.
> 
> 
> -- Ed Leafe

  In my last Email: Ubuntu 8.04 Upgrading wxgtk 
Followed the steps explained in the wiki and when I tried to run Dabo in
my Launcher Script Dabo would not run.  I had to run Dabo the terminal
window to find the problem.  Below is what I had to do to get the new
wxPython to work.  I am working on trying to find a cleaner way to to
the update.  There are other problems I am looking into on installing
Ubuntu the I am looking into before I make changes to Dabo Wiki.
 I been running down problem with Dabo Class Designer and read an email
about upgrading the wxgtk.  The web site:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
 will work for Ubuntu 8.04 but with some added steps!

# In the terminal window run the following

     sudo apt-get --yes install curl

     curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -

     sudo gedit /etc/apt/sources.list

# In the gedit add the lines

# wxWidgets/wxPython repository at apt.wxwidgets.org 
# NOTE: hardy is for Ubuntu 8.04 for Ubuntu 10.0 use the new name.
    deb http://apt.wxwidgets.org/ hardy-wx main
    deb-src http://apt.wxwidgets.org/ hardy-wx main 

# Save and exit and you will be back in the terminal
# Next run
    sudo apt-get update
    sudo apt-get install python-wxgtk2.8 python-wxtools python-wxaddons
wx2.8-i18n
# Exit the terminal

----------------------------------------

Now if you try to run Dabo Class Designer it will not work.
What I had to do was run the terminal then run python ClassDesigner.py.
Dabo will display you need to recompile these models wxPython ....
What I did was I ran from the menu System -> Administration -> Synaptic
Package Manager
Check the box for reload for the items listed for recompile like
python-wxgtk2.8,
python-wxtools .... then select Apply.  At that point I was updated to
version 2.8.9.1-0

I hope this will help
Bob






_______________________________________________
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]

Reply via email to