Issue with GPIO

I am using a yocto Image and have installed Adafruit-BBIO on my target board.
but using any input pins gives me this error

ValueError: Set gpio mode failed, missing file or invalid permissions.
any Idea how to solve this?

Hi Kemo,

There is no support of Adafruit library in the new beagle bone boards.

You have to write you own code.