I am working on a Debian Linux system and have just installed
the wxPython pakage. I downloaded the demo but that doesn't
work.
bash-2.05b$ python demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 19, in ?
import images
File "images.py", line 4, in ?
from wxPython.wx import wxBitmapFromXPMData, wxImageFromBitmap
ImportError: cannot import name wxBitmapFromXPMData
I am working on a Debian Linux system and have just installed
the wxPython pakage. I downloaded the demo but that doesn't
work.
bash-2.05b$ python demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 19, in ?
import images
File "images.py", line 4, in ?
from wxPython.wx import wxBitmapFromXPMData, wxImageFromBitmap
ImportError: cannot import name wxBitmapFromXPMData
What versions of everything you have? If you used the Debian packages then
you probably have 2.2.9 of wxGTK and wxPython, right? Did you also get a
2.2.x version of the demo?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
>
> I am working on a Debian Linux system and have just installed
> the wxPython pakage. I downloaded the demo but that doesn't
> work.
>
> bash-2.05b$ python demo.py
> Traceback (most recent call last):
> File "demo.py", line 3, in ?
> import Main
> File "Main.py", line 19, in ?
> import images
> File "images.py", line 4, in ?
> from wxPython.wx import wxBitmapFromXPMData, wxImageFromBitmap
> ImportError: cannot import name wxBitmapFromXPMData
What versions of everything you have? If you used the Debian packages then
you probably have 2.2.9 of wxGTK and wxPython, right?
Yes
Did you also get a
2.2.x version of the demo?
I didn't know there was a choice. As far as I can tell there isn't a
demo package in Debian, so I just downloaded what was on the web and
that turns out to be 2.3.2.1.
Is it still possible to download a 2.2.x demo version? Is it worth while
to start with 2.2 or should I better get a 2.3 version?
···
On Tue, Aug 13, 2002 at 10:09:02AM -0700, Robin Dunn wrote:
I didn't know there was a choice. As far as I can tell there isn't a
demo package in Debian, so I just downloaded what was on the web and
that turns out to be 2.3.2.1.
The wxPython demo is in the wxwin2.2-examples package on Debian.
I didn't know there was a choice. As far as I can tell there isn't a
demo package in Debian, so I just downloaded what was on the web and
that turns out to be 2.3.2.1.
Is it still possible to download a 2.2.x demo version?
It's still on the SF project page:
Is it worth while
to start with 2.2 or should I better get a 2.3 version?
2.3 has many new features, and is less buggy in most areas. 2.3.3 should be
released in 2-3 weeks, and I've made a few preview releases available on the
same page.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!