简体   繁体   中英

“DNS server not authoritative for zone” error on Windows 7

I tried to launch the Python console from cmd on a Windows 7 machine and got the cryptic error message

C:\>python
DNS server not authoritative for zone.

I've never encountered this before and could not find any conclusive explanation. What does this mean?

I installed Python 3.8.5 as well as pip using the get-pip.py installation script from here . Doing C:\>pip -v throws the same error.

Okay, I found at least a working solution - although I don't understand it.

The error is reproducible by using cmd with administrator privileges and does not occur when using the command line with normal privileges, eg just typing cmd into the search bar of the Windows menu (instead of doing Right Click on cmd.exe > Properties > Compatibility > Check "Run this program as an administrator" ).

Anyone know the technicality behind this?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM