If you want to learn Torah there is this idea of the sages "to marry the daughter of a Torah "."
After thinking about this I can see that there is here not a hard fast rule. Good character is not the sole domain of daughters of Torah scholars. If fact, I was advised to take whom was available at the time who had been running after me for years. [Paula Finn.] And I think this was in fact a good choice. Rav Arye Kaplan was the first person to suggest to me to agree to marry her. I said, "But she is not a bat talmid chacham [the daughter of a Torah]! He answered, "If you wait for the religious, they will offer to you a baalat mum [one with a hidden defect.]".
He knew the reality of the religious as opposed to the abstract idea divorced from actual human beings.
[That is not the only example of his great skepticism about the religious world.]
On the other hand I must say that one needs to get married to a girl that is devoted to the idea that her husband and children must learn Torah. If she is wishy washy about that, then it is hard to imagine one will learn Torah.
For the sake of clarity and openness I should mention that I consider Physics and Mathematics as being in the category of Learning Torah as is clear in the Laws of Learning Torah in the Rambam, chapter 3 about the subjects defined in th first four chapters as eing in the category of Gemara.