Exception:tegra194-gpio:no such gpio device registered

运行.py文件报错,有没有大佬能帮我看看,十分感谢

WARNING : Carrier board is not from a Jetson Developer Kit .
WARNNIG : Jetson . GPIO library has not been verified with this carrier
WARNING : and in fact is unlikely to work correctly .
Traceback ( most recent call last ):
File " demo . py ", line 24, in < module >
main ()
File " demo . py ", line 10, in main
nsCo
GPIO . setup ( led _ pin , GPIO . OUT )
File "/ usr / local / lib /python3.6/dist- packages / Jetson / GPIO / gpio . py ", line 360, i
n setup
_ do _ one _ channel ( ch _ info , direction , init , consumer )
Pyth
n _ do one ch ocal / lib /python3.6/dist- packages / Jetson / GPIO / gpio . py ", line 155, i
I
ch _ info . chip _ fd = gpio _ cdev . chip _ open _ by label ( ch _ info . gpio hip )
File "/ usr / local / lib /python3.6/dist- packages / Jetson / GPIo / gpio _ cdev . py “, line 189, in chip _ open by label
raise Exception (”{}: No such gpio device registered ". fornat ( label ))

Exception :tegra194- gpio : No such gpio device regtstered

麻煩多給一點資訊

我运行任何py文件,他就出现会这个报错,我刚更新了报错信息

就是跟你說Jetson.GPIO只支援DevKit
你用其他第三方custom carrier board沒辦法跑

就是说我使用vs code不用pycharm编译就可以了吗

不是…
你知道DevKit和custom board的差別嗎?
還是你不知道我在說什麼?

那我理解错了,我以为你说不能运行py文件是编译器的问题

你能直接告诉我该咋解决吗

沒辦法解決 除非你的底板改用DevKit

载板能使用,但是现在不能刷新镜像,这里的GPIO库是有问题的,Jtson.GPIO-2.1.6,能看下是这个库的版本不对还是别的什么原因导致的吗

原因就是這樣 我應該說得很清楚了

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.