Which wxPython install application ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Which wxPython install application ?

srfpala

Running Win7 32Bit, with Python Ver 3.7.0 and am looking for a wxPython exe installer.
Neither  of these application files
wxPython2.8-win32  nor wxPython3.0-win32  will work.
Any suggestions  on another application file?
TIA 
   Bob 

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Which wxPython install application ?

Robin Dunn
On Thursday, August 2, 2018 at 8:00:55 PM UTC-7, srfpala wrote:

Running Win7 32Bit, with Python Ver 3.7.0 and am looking for a wxPython exe installer.
Neither  of these application files
wxPython2.8-win32  nor wxPython3.0-win32  will work.
Any suggestions  on another application file?


There isn't any. wxPython is now distributed only as source and binary wheel files from PyPI.org.  That means that you can use the pip tool to install. For Windows and macOS it's as easy as just running:

    pip install wxPython

See https://wxpython.org/pages/downloads/

--
Robin

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Which wxPython install application ?

srfpala
I think wxPython was installed through pip – but it doesn’t work.

This code :
import wx
class MyMain(wx.App):

       # def OnInit(self):
       # frame = wx.Frame(parent =None,title='Main Window')
       # frame.Show()
       # ------------------------  End class MyMain
     app = MyMain() 
      app.MainLoop()


Fails with a DLL error  Message
Traceback
    <module> C:\Users\srfpala\AppData\Roaming\Python\Python37\site-packages\wx\core.py 12
ModuleNotFoundError: No module named '__main__._core'; '__main__' is not a package

But Windows Search shows C:\Users\srfpala\AppData\Roaming\Python\Python….. core.py
a file of size 134KB
Also Windows Explorer shows the srfpala folder as locked. A double click on the folder shows a list of files but no AppData folder is listed.

I tried to reinstall wxPython and received multiple Requirement already up-to-date messages.
Very confused.
Thanks for your time and concern.
Any Ideas?
Bob

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Which wxPython install application ?

Marc Tompkins
On Fri, Aug 3, 2018 at 4:35 PM, srfpala <[hidden email]> wrote:
Also Windows Explorer shows the srfpala folder as locked. A double click on the folder shows a list of files but no AppData folder is listed.

I'm not sure about the ModuleNotFoundError, but this is just Windows trying to protect you from yourself: it hides certain files by default so that curious users can't delete things accidentally.
-  In any File Explorer window, click View/Options/Change folder and search options
-  Click the View tab
-  Under "Hidden files and folders", select "Show hidden files, folders, and drives"
-  Uncheck "Hide protected operating system files (Recommended)"
-  Uncheck "Hide extensions for known file types
-  Click OK
You should now see the AppData folder.  It probably won't help you resolve the wxPython issue, but at least you'll be able to see what's going on.

It should go without saying: now that you've made it possible to delete important stuff accidentally, DON'T. With great power comes great responsibility.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.