> For example, according to Glassdoor, a software dev in Chicago has an average salary of about 82k compared to about 120k for a nurse practitioner.
Becoming a Nurse Practitioner requires, at a minimum, a Bachelor of Science in Nursing, followed by licensure as an RN, followed by a Master's in a NP specialty, followed by certification as an NP. Practically, it requires more because most NP programs require practice as an RN in the specialty for at least 1-2 years prior to admission. Its a very small, elite subset of nursing.
Further, Glassdoor estimates are something like a real-time estimate of what the current values of a nonrepresentative measure would be; they really should be marked "for entertainment use only". Per BLS data, the median salary of the 1,930 NPs in the Chicago-Naperville-Arlington Heights Metropolitan Division is $101,930, about on par with the far more numerous software developers (Software Developers, Applications: 20,570 jobs, $99,430 median salary; Software Developers, Systems Software, 9,930 jobs $103,620.) [0] The Glassdoor numbers you give are way high for NPs and way low for devs.
Contrary to your suggestion of massive geographical distortion in median salary due to concentration of tech jobs in high-cost locations, this elite level of nursing is paid generally similar to software developers nationally, as well. (Nurse Practitioners, 150,230 jobs, $104,610 median salary; Software Developers, Applications, 794,000 jobs, $104,300 median salary; Software Developers, System Software, 409,820 jobs, $110,590 median salary.) [1] (Yes, these national numbers are a little different than those from the Occupational Outlook Handbook, also from BLS, that I posted upthread: the OOH is a high-level publication updated more recently, which also uses slightly different categorizations; so here I've used the national data that corresponds directly to the geographic specific data.)
[0] https://www.bls.gov/oes/current/oes_16974.htm
[1] https://www.bls.gov/oes/current/oes_nat.htm