Won't install in Windows 10; setup.py and pip/pip3 return errors
No installation in Windows 10?
inpoly_.c c1: fatal error C1083: Cannot open source file: 'inpoly\inpoly_.c': No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\cl.exe' failed with exit code 2
is the end of the error I get using setup.py. pip/pip3 returns: Collecting inpoly Using cached inpoly-0.1.2.tar.gz (185 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "C:\Users\furys\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Except that numpy is, in fact, installed; most recent version, working just fine. PATH variables are set as well.
Also had this problem in WSL2 Ubuntu