I downloaded wxGlade, but it gives an error when installing, says that wxversion is required. I tried to pip it in both Python36 and Python27, but neither one could locate a suitable version, any ideas??
Sir Robert James Patterson wrote:
I downloaded wxGlade, but it gives an error when installing, says that
wxversion is required. I tried to pip it in both Python36 and
Python27, but neither one could locate a suitable version, any ideas??
As of version 4.0.0 the wxversion module and the multi-versioning scheme
it implemented is no longer part of wxPython. See
https://wxpython.org/Phoenix/docs/html/MigrationGuide.html#the-wxversion-module
To get it you'll need to install wxPython version 3.0.2 (or earlier),
which is not available on PyPI. You can get it from the wxPython site.
Normally I would just say to rip out the code using wxversion and let
the code import the default wxPython without doing version selection,
but I think wxGlade is not quite compatible with wxPython 4 yet. I've
heard that wxGlade is being updated to work with wxPython 4, but I don't
know what the exact plans are.
···
--
Robin Dunn
Software Craftsman
wxglade (from the mercurial repository) seems to work ok with wxPython 4.0.0.a2 and Python3.6 (with my small amount of experimenting).
Brendan.
···
On Thursday, 1 June 2017 10:40:00 UTC+10, Robin Dunn wrote:
Sir Robert James Patterson wrote:
I downloaded wxGlade, but it gives an error when installing, says that
wxversion is required. I tried to pip it in both Python36 and
Python27, but neither one could locate a suitable version, any ideas??
As of version 4.0.0 the wxversion module and the multi-versioning scheme
it implemented is no longer part of wxPython. See
https://wxpython.org/Phoenix/docs/html/MigrationGuide.html#the-wxversion-module
To get it you’ll need to install wxPython version 3.0.2 (or earlier),
which is not available on PyPI. You can get it from the wxPython site.
Normally I would just say to rip out the code using wxversion and let
the code import the default wxPython without doing version selection,
but I think wxGlade is not quite compatible with wxPython 4 yet. I’ve
heard that wxGlade is being updated to work with wxPython 4, but I don’t
know what the exact plans are.
–
Robin DunnSoftware Craftsman