Im sorry to ask this question again. I have searched and found endles repeats of it both on stackoverflow and also on general google search. Unfortunatly I just cant get my system sorted.
I have the following:
C:\Python27\Lib\site-packages\wx-2.8-msw-unicode
this folder contains the wx folder and also wx & wxPython folders which each contain the _init_.py
files
When I import wx I get the error message "no module named wx"
What do I need to do in order to get Python to find the relevant files to allow me to "import wx" succesfully
Python provides wxpython module which allows us to create high functional graphical user interface. It is an Open Source module, which means it is free for anyone to use and the source code is available for anyone to look and modify.
The wxPython 4 package is compatible with both Python 2.7 and Python 3. Note: On Mac OS X you will need a compiler installed such as XCode for the install to complete successfully. Linux may also require you to install some dependencies before the pip installer will work correctly.
wxPython is a wrapper for the cross-platform GUI API (often referred to as a "toolkit") wxWidgets (which is written in C++) for the Python programming language. It is one of the alternatives to Tkinter. It is implemented as a Python extension module (native code).
Ubuntu:
sudo apt-get install python-wxtools
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With