You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have struggled a while to install netifaces when setting up micropy-cli and Google must be sick and tired of my searching for a solution :-):
I keep getting the same error message although I have uninstalled all C++ tools and then installed the latest version: I have added a screenshot showing my currently installed version of C++
==========================
Building wheel for netifaces (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for netifaces
Running setup.py clean for netifaces
Failed to build netifaces
Installing collected packages: netifaces, dpath, distlib, boltons, bleak-winrt, win32-setctime, typing-extensions, typed-config, tomli-w, tenacity, tabulate, smmap, shellingham, requests, pyudev, python-minifier, pysondb-v2, pygments, pyflakes, portalocker, nodeenv, mypy-extensions, mdurl, MarkupSafe, importlib-metadata, deprecated, colorama, cachetools, attrs, async-timeout, argcomplete, typing-inspect, tqdm, rshell, questionary, pyright, pydantic, mypy, markdown-it-py, mailbits, loguru, jsonschema, Jinja2, gitdb, click, cachier, bleak, autoflake, userpath, typer, rich, pypi-simple, libcst, GitPython, bleak-sigspec, black, upydevice, pygithub, pipx, micropython-stubber, micropy-cli
Running setup.py install for netifaces ... error
error: subprocess-exited-with-error
× Running setup.py install for netifaces did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running install
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> netifaces
The text was updated successfully, but these errors were encountered:
I tried to install on another PC (Win11Pro X64) and had no issues whatsoever - my Dev PC is a Win10Pro X64. however I do not see any C++ components on the Win11 PC ??
Hello,
I have the same issue on a windows 11 Education X64 and using Python 3.10.11. I can't find C++ components on my PC and can't find any solution.
I got the same issue using Python 3.11.5
I've tried to use Python 3.12 and I got the error with "imp" similar to this issue
installation worked with Python 3.8.9
Hi
I have struggled a while to install netifaces when setting up micropy-cli and Google must be sick and tired of my searching for a solution :-):
I keep getting the same error message although I have uninstalled all C++ tools and then installed the latest version: I have added a screenshot showing my currently installed version of C++
==========================
Building wheel for netifaces (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for netifaces
Running setup.py clean for netifaces
Failed to build netifaces
Installing collected packages: netifaces, dpath, distlib, boltons, bleak-winrt, win32-setctime, typing-extensions, typed-config, tomli-w, tenacity, tabulate, smmap, shellingham, requests, pyudev, python-minifier, pysondb-v2, pygments, pyflakes, portalocker, nodeenv, mypy-extensions, mdurl, MarkupSafe, importlib-metadata, deprecated, colorama, cachetools, attrs, async-timeout, argcomplete, typing-inspect, tqdm, rshell, questionary, pyright, pydantic, mypy, markdown-it-py, mailbits, loguru, jsonschema, Jinja2, gitdb, click, cachier, bleak, autoflake, userpath, typer, rich, pypi-simple, libcst, GitPython, bleak-sigspec, black, upydevice, pygithub, pipx, micropython-stubber, micropy-cli
Running setup.py install for netifaces ... error
error: subprocess-exited-with-error
× Running setup.py install for netifaces did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running install
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> netifaces
The text was updated successfully, but these errors were encountered: