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
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
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 wxPython Downloads | wxPython
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?
–
Robin
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
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
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.
On Fri, Aug 3, 2018 at 4:35 PM, srfpala <srfpala@gmail.com> 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