This is an important point. While the industry isn't always super welcoming to women, that isn't the whole problem. Lots of women just have other interests. We'll probably see gender parity in IT when we see gender parity in nursing.
I have never heard anyone complain that we have too few male teachers, nurses, or airline attendants.
You haven't looked. Programmes exist to increase the number of male teachers and male nurses.