bkerler / mtkclient

MTK reverse engineering and flash tool
GNU General Public License v3.0
2.73k stars 529 forks source link

Building wheel for netifaces (pyproject.toml) did not run successfully. #1267

Closed Genicto closed 3 weeks ago

Genicto commented 3 weeks ago

I'm having this particular error to finish installing mtkclient and I don't know why it's happening to me because I have so much visual studio (without android workloads and no other kind and visual studio tools (without workloads) if someone could guide me on what I should do to solve this problem I would appreciate it

Building wheel for fusepy (pyproject.toml) ... done Created wheel for fusepy: filename=fusepy-3.0.1-py3-none-any.whl size=10501 sha256=59dde73985225726c1e4a59e6fa55c99a7c42dfe6a433f7e96f5b348f0a688a7 Stored in directory: c:\users\elfgarden\appdata\local\pip\cache\wheels\c0\18\f6\f0d6be9d0435e2677ce5cc758e91da50053dce456a346f08c5 Building wheel for netifaces (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for netifaces (pyproject.toml) 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 Successfully built fusepy Failed to build netifaces ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (netifaces)

Genicto commented 3 weeks ago

The solution was founded by https://github.com/bkerler/mtkclient/issues/1056 [Oyoh-Edmond]