I expected a nobrainer:
C:\RH>pip install netifaces Collecting netifaces Downloading https://files.pythonhosted.org/packages/81/39/4e9a026265ba944ddf1fea176dbb29e0fe50c43717ba4fcf3646d099fe38/netifaces-0.10.7.tar.gz Installing collected packages: netifaces Running setup.py install for netifaces ... error Complete output from command c:\users\rh\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\RH\\AppData\\Local\\Temp\\pip-install-wbfanly3\\netifaces\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\RONALD~1.HEI\AppData\Local\Temp\pip-record-m26yfbyt\install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'netifaces' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
The suggested URL to download the missing software is wrong (HTTP 404).
- Go to the Microsoft-Repository Tools for Visual Studio 2017 or use the direct link to vs_buildtools.exe
- …it’s about 1.2MB
- run „vs_buildtools.exe“
- …it downloads ~ 70 MB
- Select „Workloads => Windows => [x] Visual C++ Build Tools“ => [Install]
- …it downloads 1.12 GB
- …and installs
- reboot required
and … unlucky…
Now netifaces can get installed:
C:\RH>pip install netifaces Collecting netifaces Using cached https://files.pythonhosted.org/packages/81/39/4e9a026265ba944ddf1fea176dbb29e0fe50c43717ba4fcf3646d099fe38/netifaces-0.10.7.tar.gz Installing collected packages: netifaces Running setup.py install for netifaces ... done Successfully installed netifaces-0.10.7