代码:
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.
1 回答9.4k 阅读✓ 已解决
2 回答5.1k 阅读✓ 已解决
2 回答3.4k 阅读✓ 已解决
3 回答4.4k 阅读
2 回答2.4k 阅读✓ 已解决
2 回答2.4k 阅读✓ 已解决
1 回答2.3k 阅读✓ 已解决
你的python是通过什么安装的?你是在虚拟环境下运行的?