代码:
import wx
app = wx.App()
win = wx.Frame(None)
win.Show()
app.MainLoop()
报错:
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.
import wx
app = wx.App()
win = wx.Frame(None)
win.Show()
app.MainLoop()
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.
2 回答4.3k 阅读✓ 已解决
2 回答863 阅读✓ 已解决
1 回答4.1k 阅读✓ 已解决
3 回答856 阅读✓ 已解决
2 回答2.2k 阅读✓ 已解决
4 回答2.6k 阅读
3 回答904 阅读✓ 已解决
你的python是通过什么安装的?你是在虚拟环境下运行的?