I have been trying to install depthai python dependencies to run python script of depthai on Windows.
I have done
choco install cmake git python pycharm-community -y
and when i reach the instruction
python -m pip install depthai
I have the nmake error. What should I do? Do I have to install the Windows SDK as some ppl suggested on the net? It it seems huge though.
How do I use NMAKE on the command line? - Stack Overflow
c - Error while configuring CMake project: Running 'nmake' '-?' failed - Stack Overflow
PS C:\Windows\system32> python -m pip install depthai
Collecting depthai
Downloading depthai-2.23.0.0.tar.gz (421 kB)
---------------------------------------- 421.4/421.4 kB 4.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: depthai
Building wheel for depthai (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for depthai (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [88 lines of output]
running bdist_wheel
running build
running build_ext
<string>:87: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:2 (project):
Running
'nmake' '-?'
failed with:
The system cannot find the file specified
[hunter ** INTERNAL **] Configure project failed.