Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • It went through installation fine. But then I went into python and import wx gives the same error as earlier. Commented Oct 3, 2016 at 18:54
  • Check which python binary you are running, like this: python -c "import sys; print(sys.prefix)". That wxPython installer should work with either Apple's Python (with a prefix of /usr or /System/Library/Frameworks/Python.framework/Versions/2.7) and the Python from python.org (with prefix /Library/Frameworks/Python.framework/Versions/2.7) Commented Oct 3, 2016 at 19:06
  • Thanks a lot. Actually I had miniconda installed. While trying to install wxpython on one of the links it gave a command using conda so I installed miniconda for it. uninstalled it now and it works with apple python. I guess a lot of people have this problem. :) Commented Oct 3, 2016 at 19:11