My parents are both medical doctors and their medical books are not affordable if they were sold in US prices but they have 3rd world print editions and they can legally buy these copies. Software vendors have to adapt to tthis too. Gaming companies already adapted this and I've never pirated any games since Steam. I'm a paying netflix, spotify customer because they are priced for the country they operate and as you can guess I'm not torrenting music or movies either.
Internet is global but purchasing power is not. Ethically, I see no problem in torrenting. Human knowledge is "on the shoulders of giants" and in philosophical perspective -I'm not advocating this- even copyright is on shaky grounds (Property is theft! - Pierre-Joseph Proudhon)