Kivy-无法打开设备"/dev/input/event7"在Ubuntu上,没有权限 [英] Kivy - Unable to open device "/dev/input/event7" on Ubuntu, no permission

查看:277
本文介绍了Kivy-无法打开设备"/dev/input/event7"在Ubuntu上,没有权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Ubuntu 16.04,每次运行任何Kivy App(我对Ubuntu和Kivy都是新手)时,都会收到以下消息:

I'm using Ubuntu 16.04 and every time I run any Kivy App (I'm new to both Ubuntu and Kivy), I get the message:

[WARNING] [MTD] Unable to open device "/dev/input/event7". Please ensure you have the appropriate permissions. 

它正常工作,我只想知道为什么出现该消息以及是否可以摆脱它.是否从PyCharm或Terminal运行该应用都没有关系.当我在Windows中运行它时,没有此消息,一切都很好.

It works normally, I would just like to know why the message appears and if I can get rid of it. It doesn't matter if I run the app from PyCharm or Terminal. When I run it in Windows, everything is fine without this message.

推荐答案

之所以出现此消息,是因为Kivy查询每个输入设备以查看是否应听.没关系,它无法访问它,这是正常的.

This message appears because Kivy queries each input device to see if it should listen to it. It doesn't matter that it failed to access this one, it's normal.

每次都打印此消息是一个小错误,因为它不是真正必要的,但是没人能解决它.

It's a minor bug that this message is printed each time, since it isn't really necessary, but nobody has ever got around to fixing it.

这篇关于Kivy-无法打开设备"/dev/input/event7"在Ubuntu上,没有权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆