[Freewx-maint] Bug#895083: Bug#895083: python-wxgtk4.0: module wx is not usable
bunk at debian.org
Sat Apr 7 14:30:19 UTC 2018
On Fri, Apr 06, 2018 at 11:53:39PM -0400, Scott Talbert wrote:
> On Sat, 7 Apr 2018, Norbert Lange wrote:
> > it appears that the files are installed in a subdirectory,
> > potentially to avoid confligs with previous versions?
> > result is that
> > import wx fails with
> > ImportError: No module named wx
> > I havent found a way to configure the installation
> The purpose of the python-wxgtk4.0 package is primarily for application
> developers to use in porting their applications to wxPython 4.0 (Phoenix).
> There isn't much of a reason otherwise to use the Python 2 version of
> wxPython 4.0. Instead, you should use python3-wxgtk4.0 with which you can
> 'import wx'.
> If you really would like to use the Python 2 version, you can do:
> PYTHONPATH=/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg python
> import wx
Is there a good reason why you are making it harder than necessary to
use python-wxgtk4.0 ?
Python 2 is fully supported by Debian during the lifetime of buster,
and there are various reasons why many users are stuck with Python 2
for some more time.
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the Freewx-maint