I am using Enthought Python Distribution (7.2, 64-bit). It comes without wxPython (which is quite important). However, wxPython-2.9 seems to support 64-bit Cocoa interface, so I gave it a try. Actually, it all went good: the command
python build-wxpython.py --osx_cocoa --mac_framework --install
successfully compiled, and even got into EPD site-packages. However, a simple wxPython code
import wx
wx.App()
fails with the following error:
This program needs access to the screen.
Please run with a Framework build of python, and only when you are
logged in on the main display of your Mac.
Can you give me some advice how to cure this? EPD is clearly a Python Framework (i.e., looking at /Library/Frameworks/EPD64.framework and /Library/Frameworks/Python.framework convinces me in it) but this wxPython build does not know about that. The version of wxPython is 2.9.3.1