开发者社区 问答 正文

wx运行报错,需要管理员用户?如何解决??报错

以下代码运行错误,提示: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.

环境anaconda;IDE:vscode;python3

import wx

app = wx.App()
win = wx.Frame(None)
win.Show()
app.MainLoop()

展开
收起
爱吃鱼的程序员 2020-06-06 14:54:40 498 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>有没有遇到这个问题的呀?求解啊</p>
    
    2020-06-06 14:54:52
    赞同 展开评论
问答分类:
问答地址: