I learnt some flamenco when I was in Spain, but only got so far with it, learning several "palos". You need patience and dedication, but definitely a good teacher. You can only learn basics from books, but it needs to be part of your "alma" (soul). If you have this and passion, then you'll progress. Playing daily is important. A true flamenco player has "duende", it's inexplicable, the late Paco, the godfather of flamenco of guitar is the best example.
Good luck.