Should she study in a mixed university or should she stay in a city without a mahram and study in a university that is not mixed?
Question

I have the choice between staying without a mahram in a Muslim Arab country in order to study in a university that is not mixed (in fact, my maternal uncle through breastfeeding is in the same country, city and neighbourhood, but he does not really uphold ties with us) or staying with my family in a Muslim Arab country (that is less conservative) to study in a university that is mixed, in which there are evils and abhorrent things. Which option should I choose? Unfortunately, I cannot stay with my family without going to the mixed university, because all the universities in this country are mixed. And my father absolutely and totally refuses to let me stay at home and stop studying, because unfortunately my parents are not committed. What should I do? May Allah reward you with good.
Praise be to Allah.Firstly: 
Mixing in workplaces and schools is haraam because of the evils and haraam things to which it leads. Please see the answer to question number 1200 and 103044. 
It is not permissible for the girl's guardians to make her go to this mixed school, because that is heedlessness and a betrayal of the trust. Rather they should prevent her from doing that which is haraam and help to avoid sin, and they should be protective towards her and protect her honour. 
Secondly: 
It is not permissible for a woman to travel without a mahram, because the Prophet (blessings and peace of Allah be upon him) said: “No woman should travel except with a mahram.” Narrated by al-Bukhaari, 1862. 
And Muslim (1339) narrated from Abu Hurayrah (may Allah be pleased with him) that the Prophet (blessings and peace of Allah be upon him) said: “It is not permissible for a woman who believes in Allah and the Last Day to travel the distance of one day's journey except with a mahram.” 
As for her staying in a city without a mahram, that is not forbidden if she is safe and remembers that Allah is always watching when she comes and goes, and she avoids mixing with men. 
Based on that, if a mahram travels with you and takes you to the city where you are going to study, and you stay there in a safe place and adhere to the Islamic guidelines when going out to the University, there is nothing wrong with that. 
If we assume that the mahram cannot travel with you there or back, and your family insist that you study in one of the two choices that you mentioned, and there is no alternative to that, then the basic principle is that you should choose the lesser of two evils so as to ward off the greater of the two. So you have to choose the less evil of the two options. This means that you have to think about and study the two choices. Your travelling may be less evil, because in that case you will avoid mixing, but it involves the problem of your being alone and away from your family in a strange city. If you can get in touch with your paternal uncle through breastfeeding and he can keep an eye on you and help you and so on, then that is better. 
You should strive to increase your faith and strengthen your connection with Allah, look for righteous friends and keep yourself busy with good deeds such as memorising Qur'aan, and regularly offering naafil prayers and fasts. 
We ask Allah to help and guide you. 
And Allah knows best.