Search code examples
macosinstallationwxpython

Install wxpython on mac


I am new to Mac, have always used windows and I am confused on how to install wxPython. I downloaded the .dmg file from the website, and it contained three files:

a pkg file, a readme, and an uninstall.py

I opened the pkg file, went through the steps, and Im not sure where it installed after it said "Installation Complete"

Also, I did the import wx in idle, which caused a stacktrace error.

Thanks.


Solution

  • At least for development, I would suggest to install (python and) wx using homebrew. It will install version 2.9 and you're ensured that Apple-provided system libraries remain untouched.