Please help #Coding question 🖥️
I am trying to install #Mountainsort (4) on Windows (10) (I know, I know).
It works on one of my Win10 computers, but doesn’t on any other ones that I’m trying to install this on.
When running ‘pip install mountainsort4’ I get this error: “command ‘some_path_on_my_comp\cl.exe’ failed with exit code 2”
I also get this error: " C:\some_path\Local\Temp\pip-install-kykt_efl\isosplit5_3fce77eb41cf47b4a1d4ca22afae35a2\src\isocut5.h(19): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory"
I have googled this to death and tried everything and it just won’t fix itself. The cl.exe path exists. I added it to the environment variables (but maybe not properly?). It’s a Visual Studio function.
Seen this before? Any suggestions? 🙏
#Python #Programming
Edit (and thank you for all answers so far!):
Edit 2: I reinstalled Visual Studio stuff using these instructions
NOW I do not get the error about the missing stdlib.h anymore, and I can actually install isosplit5 which is a dependency of mountainsort, BUT - when I go back to running pip install mountainsort4 it now has new errors! (progress?) They look like syntax errors as described in this issue and they still end in the cl.exe error. At the end it said that it did build mountainsort4 but not isosplit5 and when I try to actually run mountainsort functions they say it's not installed. so Fail.
Edit 3: I am so desperate that I have created a Question on StackOverflow, yes yes
https://stackoverflow.com/questions/76887010/how-to-fix-missing-stdlib-h-file-and-failed-cl-exe-command-when-installing-m
Edit 4: Am I just using the 'wrong' version of those Visual Studio functions for the code? Like the code has not been adapted to current versions? But how can I know which version the code wants?
Edit 5: if I manage to install isosplit5... why does mountainsort try to 'build the wheels for isosplit5'? Is there a way to tell it to use the one that is already installed?
Edit 6 (Aug 15): I tried my pipeline in the Windows Subsystem for Linux. It had a C++ problem at first, but it worked after I ran sudo apt install build-essential.
Anyone knows about an equivalent to that instruction in Windows?
I think that would fix my problem... if it exists