[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No module named wx - another data point
From: |
Ilia Mirkin |
Subject: |
Re: [Discuss-gnuradio] No module named wx - another data point |
Date: |
Fri, 15 Apr 2005 15:54:57 -0400 |
In my limited experience with this stuff, DO NOT install multiple
versions of wxPython. Just have 2.5.
-Ilia
On Fri, 2005-04-15 at 14:33 -0500, LRK wrote:
> Probably a clue here somewhere.
>
> 'import wx' fails but 'import wxversion' works
>
> Then I can select the version and get a different error:
>
>
> gr% python
> Python 2.4.1 (#2, Apr 12 2005, 10:46:06)
> [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import wxversion
> >>> wxversion.select('2.5')
> >>> import wx
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/usr/gnuradio/gr/lib/python2.4/site-packages/wx-2.5.5-gtk2-ansi/wx/__init__.py",
> line 42, in ?
> from wx._core import *
> File
> "/usr/gnuradio/gr/lib/python2.4/site-packages/wx-2.5.5-gtk2-ansi/wx/_core.py",
> line 11351, in ?
> codecs.lookup(default)
> TypeError: lookup() argument 1 must be string, not None
> >>>
> gr%
>
>