Raspberry pi Pygame 个问题

Raspberry pi Pygame issues

我有 raspberry pi 的 Kedei V6.3 触摸屏,我正在使用 raspbian 8 Jessie 和 raspberry pi 1B。我的触摸屏是 运行ning,我正在尝试从 gitHub 安装 UI:https://github.com/garthvh/pitftmenu 我已经安装了它,但是当我尝试 运行 它时它给了我一个错误:

Traceback (most recent call last):    
  File "/home/pi/Desktop/pitftmenu/menu_kali-1.py", line 11, in <module>
    pygame.display.init()
pygame.error: Unable to open mouse

我尝试定期 运行 它,因为 root.i 从这里下载了我的 OS:http://kedei.net/raspberry/raspberry.html 并且该软件可以运行,但是如果我尝试 sudo apt-升级,触摸屏停止工作,所以我无法更新它,我真的很想 运行 UI

感谢您的建议,我已经找到问题的答案,而且非常简单,我所要做的就是 运行 在 raspberry pi 桌面上。我试图通过 SSH 运行 它并希望它会出现,但事实证明,你不能在 ssh 中 运行 它。