Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install netifaces #553

Open
riteman opened this issue Nov 27, 2023 · 1 comment
Open

Unable to install netifaces #553

riteman opened this issue Nov 27, 2023 · 1 comment
Labels
question Further information is requested

Comments

@riteman
Copy link

riteman commented Nov 27, 2023

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
Screenshot

@riteman riteman added the question Further information is requested label Nov 27, 2023
@riteman
Copy link
Author

riteman commented Nov 27, 2023

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 ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant