Discussion:
looking for wx.version
(too old to reply)
Doug Laidlaw
2022-05-23 15:02:59 UTC
Permalink
Trying to run an old media player that seems to have installed itself, I
get:

Traceback (most recent call last):
File "/usr/local/share/tunapie/Tunapie.py", line 23, in <module>
import wx.version
ModuleNotFoundError: No module named 'wx.version'

Wxwidgets seems to have undergone a re-write. A Web search found a
reference to wx-config; I can't find that, either.

Any ideas, please?
William Unruh
2022-05-23 16:02:24 UTC
Permalink
Post by Doug Laidlaw
Trying to run an old media player that seems to have installed itself, I
Why not get a new version of that media player?

Do you expect a program written for Windows NT to run on Windows 11?

And what do you mean "installed itself"? If that is really true then you
computer has been invaded, because programs do NOT install themselves.
Eg a Trojan. If you told us what this "old media player" was perhaps
someone could point you to a new version.
Post by Doug Laidlaw
File "/usr/local/share/tunapie/Tunapie.py", line 23, in <module>
import wx.version
ModuleNotFoundError: No module named 'wx.version'
Wxwidgets seems to have undergone a re-write. A Web search found a
reference to wx-config; I can't find that, either.
And when was that web page written? (The problem is people do not date
their web pages far too often, so stuff written in 2006 comes up in web
searches.)
Post by Doug Laidlaw
Any ideas, please?
Doug Laidlaw
2022-05-23 19:24:45 UTC
Permalink
Post by William Unruh
Post by Doug Laidlaw
Trying to run an old media player that seems to have installed itself, I
Why not get a new version of that media player?
Do you expect a program written for Windows NT to run on Windows 11?
And what do you mean "installed itself"? If that is really true then you
computer has been invaded, because programs do NOT install themselves.
Eg a Trojan. If you told us what this "old media player" was perhaps
someone could point you to a new version.
Post by Doug Laidlaw
File "/usr/local/share/tunapie/Tunapie.py", line 23, in <module>
import wx.version
ModuleNotFoundError: No module named 'wx.version'
Wxwidgets seems to have undergone a re-write. A Web search found a
reference to wx-config; I can't find that, either.
And when was that web page written? (The problem is people do not date
their web pages far too often, so stuff written in 2006 comes up in web
searches.)
Post by Doug Laidlaw
Any ideas, please?
I have several current media players, but this is a small one that runs
on Linux, and has many FM channels. I haven't used it for a while.

As for installing itself, the program was built entirely within my home
directory, which survives system upgrades.
William Unruh
2022-05-23 19:43:15 UTC
Permalink
Post by Doug Laidlaw
Post by William Unruh
Post by Doug Laidlaw
Trying to run an old media player that seems to have installed itself, I
Why not get a new version of that media player?
Do you expect a program written for Windows NT to run on Windows 11?
And what do you mean "installed itself"? If that is really true then you
computer has been invaded, because programs do NOT install themselves.
Eg a Trojan. If you told us what this "old media player" was perhaps
someone could point you to a new version.
Post by Doug Laidlaw
File "/usr/local/share/tunapie/Tunapie.py", line 23, in <module>
import wx.version
ModuleNotFoundError: No module named 'wx.version'
Wxwidgets seems to have undergone a re-write. A Web search found a
reference to wx-config; I can't find that, either.
And when was that web page written? (The problem is people do not date
their web pages far too often, so stuff written in 2006 comes up in web
searches.)
Post by Doug Laidlaw
Any ideas, please?
I have several current media players, but this is a small one that runs
on Linux, and has many FM channels. I haven't used it for a while.
And you still have not told us what it is.
Post by Doug Laidlaw
As for installing itself, the program was built entirely within my home
directory, which survives system upgrades.
And how is that "installing itself"?
A problem with such programs is precisely that they become unstable
because of changes in libraries, etc.
Doug Laidlaw
2022-05-30 18:18:59 UTC
Permalink
Post by William Unruh
Post by Doug Laidlaw
Post by William Unruh
Post by Doug Laidlaw
Trying to run an old media player that seems to have installed itself, I
Why not get a new version of that media player?
Do you expect a program written for Windows NT to run on Windows 11?
And what do you mean "installed itself"? If that is really true then you
computer has been invaded, because programs do NOT install themselves.
Eg a Trojan. If you told us what this "old media player" was perhaps
someone could point you to a new version.
Post by Doug Laidlaw
File "/usr/local/share/tunapie/Tunapie.py", line 23, in <module>
import wx.version
ModuleNotFoundError: No module named 'wx.version'
Wxwidgets seems to have undergone a re-write. A Web search found a
reference to wx-config; I can't find that, either.
And when was that web page written? (The problem is people do not date
their web pages far too often, so stuff written in 2006 comes up in web
searches.)
Post by Doug Laidlaw
Any ideas, please?
I have several current media players, but this is a small one that runs
on Linux, and has many FM channels. I haven't used it for a while.
And you still have not told us what it is.
Post by Doug Laidlaw
As for installing itself, the program was built entirely within my home
directory, which survives system upgrades.
And how is that "installing itself"?
A problem with such programs is precisely that they become unstable
because of changes in libraries, etc.
There is no wx.version for Python3:

https://discuss.wxpython.org/t/py3-4-and-wx3-importerror-no-module-named-wxversion-release-number-mismatch-etc/29166

I think that I can specify Python 2.7, but really, it isn't worth the
exercise.

Loading...