Tkaiser, thanks you for your soon answer. I read the post you mentioned and follow the LeMaker's steps (https://github.com/LeMaker/WiringBP) but it doesn't work for the NanoPi. Then I found this blog WiringPi in a Orange Pi with which I have more hope since Orange Pi PC has the same AllWinnwer H3 processor, but it doesn't work either, I do not have many clues why.
Finally, I found in the FriendlyARM Wiki the procedure to install a DHT11 sensor in a NanoPi M1 with a Debian OS, which consists in the installation of only one library. I tested it in Armbian and it doesn't work. As last test, I booted the NanoPi with Debian image and tested the FriendlyARM library and it works! but only with a DHT11 sensor, not the case with the DHT22. So, I'm a little confused by all this, especially since it should have worked with the Orange Pi procedure. Any tips?