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

Have been trying to fix this error for days #7

Open
Slyslender opened this issue May 17, 2023 · 3 comments
Open

Have been trying to fix this error for days #7

Slyslender opened this issue May 17, 2023 · 3 comments

Comments

@Slyslender
Copy link

Building wheels for collected packages: lru-dict
Building wheel for lru-dict (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 'lru' 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 lru-dict
Running setup.py clean for lru-dict
Failed to build lru-dict
ERROR: Could not build wheels for lru-dict, which is required to install pyproject.toml-based projects

@Deatheye
Copy link

You need to install the Microsoft visual C+14.0. It is not included in visual studio community. It is a seperate installer from Microsoft. I had the same error message before installing.
Sry I can't remember the download link.

@Slyslender
Copy link
Author

I had downloaded the latest Microsoft c+ version, im gonna try reinstalling it all and see if it works

@Deatheye
Copy link

The link suggested by the error message specifically leads to Microsoft visual c++ build tools, which is different from visual c ++.
Sorry I didn't realize this sooner.
Did you also install those?

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

No branches or pull requests

2 participants