I got this error while I was trying to download depthai :
Error: [Errno 2] No such file or directory: '/private/var/folders/tt/y1ycj9zs1w58x6ywhv5yy91h0000gp/T/pip-install-a_edty3c/depthai_1b3c4a9e39ff45488a986ebc5b732ca8/utilities/cam_test.py'
*`[end of output]`*
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for depthai
Failed to build depthai
ERROR: Could not build wheels for depthai, which is required to install pyproject.toml-based projects
I have tried different python versions and, in the other hand, the prebuilt versions of the wheels that I have tried are not compatible with my system. I have even tried to download the utilities in the folder where the error indicates they should be, but no success, because the address of the folder changes.
If I run the next commands:
pip3 --version
python3 -m pip --version
python3 -c 'import platform; print(platform.machine())'
python3 --version
I get the next results:
- pip 24.0 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
- pip 24.0 from /Users/mauricio.portilla/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)
- x86_64
- Python 3.9.6