Hello there!

I've got a brand new NanoPI M3 board with Debian OS. I thought its GPIO is supposed to be Raspberry Pi compatible, but when i try to use the RPi.GPIO Python module i get such an error:

[20:22][NanoPi3][~] # python -c "import RPi.GPIO;"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!


Is there any chance that i could somehow use RPi.GPIO on my NanoPI, or is there any other Python library to work with M3's GPIO?