# wxPython 运行报错问题

- Link: https://www.ixiqin.com/2018/02/11/wxpython-run-error-problem/
- Published: 2018-02-11T00:18:00+08:00
- Author: 白宦成

> 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.

运行 wxPython 时报上述错误。
 将命令从 `python wx1.py` 改为 `pythonw wx1.py` 即可。
