Install on windows can't find /etc/resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
py3dns |
Confirmed
|
Medium
|
Unassigned |
Bug Description
PyCharm, Python 3.6.0 virtualenv, Windows 10 host.
Attempted installation of py3dns using version current as of 2016-05-30 produces:
collecting py3dns
Downloading py3dns-3.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\
import DNS
File "C:\Users\
File "C:\Users\
return ParseResolvConf()
File "C:\Users\
with open(resolv_path, 'r') as stream:
FileNotFoun
---
Command "python setup.py egg_info" failed with error code 1 in C:\Users\
=================
As Windows doesn't provide an /etc/resolv.conf, it is not surprising that it didn't find it.
I'll be glad to include a fix for this from someone who uses Windows, but as a non-Windows person, there's no way I can develop a solution.