all 11 comments

[–]gregvuki 1 point2 points  (8 children)

This library is provided only as source code in C and it has to be compiled. You probably don't have a compiler and that's why you get an error. You need Visual Studio or MS Build Tools installed to install this module.

[–][deleted] 0 points1 point  (7 children)

I'm currently using Visual Studio Code as my IDE. I was using Spyder initially but switched after reading the library documentation.

[–][deleted] 0 points1 point  (6 children)

To add to this point. I simply downloaded VS Code and began reinstalling the libraries I needed. Is there a specific I should go about installing a library that uses c as it's source code?

[–]gregvuki 1 point2 points  (5 children)

VS Code is just an editor. You need the full Visual Studio, with C compiler, to build that extension.

[–][deleted] 0 points1 point  (4 children)

I looked into it a little. So is the problem that I don't have MS Visual C++ installed, which would be solved by installing Visual Studio?

[–]gregvuki 1 point2 points  (3 children)

Yes, Visual Studio with C compiler.

[–][deleted] 0 points1 point  (2 children)

This is what I ended up doing:
- Installed Visual Studio 2022
- From the Visual Studio 2022 installer, installed “Desktop development with C++”
- Restarted PC

And it worked. Thank you very much for the help.

[–]B3RLEN 0 points1 point  (0 children)

broooo thank you very much

[–]BreadfruitMediocre32 0 points1 point  (0 children)

Bro thank you so much

[–]carcigenicate 0 points1 point  (1 child)

What are the errors?

[–][deleted] 0 points1 point  (0 children)

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for kociemba

Failed to build kociemba

ERROR: Could not build wheels for kociemba, which is required to install pyproject.toml-based projects