代码:
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 回答10.1k 阅读✓ 已解决
4 回答4k 阅读✓ 已解决
2 回答4k 阅读✓ 已解决
4 回答3.5k 阅读✓ 已解决
3 回答3.6k 阅读✓ 已解决
3 回答4.7k 阅读
3 回答1.8k 阅读✓ 已解决
你的python是通过什么安装的?你是在虚拟环境下运行的?