Yes it means that M1 will just install w/out having any other work. Will be equivalent to x86 Mac, or x86 Linux and/or all the standard builds we have now.
So this should be fully out this week when we do another release with this system.
Yes it means that M1 will just install w/out having any other work. Will be equivalent to x86 Mac, or x86 Linux and/or all the standard builds we have now.
So this should be fully out this week when we do another release with this system.
Hello gregflurry ,
We have just implemented building these wheels today. Could you try it out as well?
python3 -mpip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/ depthai==2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae
Thanks, Erik
Thank you for bringing support to the M series processors and latest Macs. My camera is sitting beside my new iMac, hopefully the two will be on speaking terms soon.
Successfully installed depthai-2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae
Did receive this warning:
× The package index page being used does not have a proper HTML doctype declaration.
╰─> Problematic URL: https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/
note: This is an issue with the page at the URL mentioned above.
hint: You might need to reach out to the owner of that package index, to get this fixed. See https://github.com/pypa/pip/issues/10825 for context.
I attempted to install in what should appear to be a system with no DepthAI presence. For other reasons, I already had homebrew installed natively, and had Rosetta installed. I attempted to follow the installation instructions here using a native Terminal. I foolishly ran the command to install dependencies, and then read the paragraph after the command. During execution of the install script, I saw "Running in native arm64 mode, will prefix commands with: arch -x86_64", "Warning: Running in non-interactive mode because $CI
is set.", "==> Installation successful!", " >> arch -x86_64 brew install python3 git", "Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!"
I'm not sure what this means and how to proceed. All I can tell for sure is that I now have two copies of homebrew, one for arm64 and one for x86_64, plus a git installation, presumably for x86_64. I was unable to extract any useful hints from the link in the installation instructions regarding having a native homebrew. I would like to be able to remove the x86_64 homebrew installation. I don't know what to do about git; I have not checked if an arm64 git exists.
Despite my ignorance, I proceeded to attempt install depthAI using pip. That failed with the following:
Collecting depthai
Downloading depthai-2.16.0.0.tar.gz (360 kB)
|████████████████████████████████| 360 kB 706 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: depthai
Building wheel for depthai (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/gregflurry/.pyenv/versions/3.9.5/bin/python /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/vendor/pep517/in_process/in_process.py build_wheel /var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/tmp4d9j_470
cwd: /private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-install-mjtvwbwy/depthai_1ea890efc84145bcbd773547823282a2
Complete output (68 lines):
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "setup.py", line 76, in run
out = subprocess.check_output(['cmake', '--version'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 424, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 505, in run
with Popen(popenargs, **kwargs) as process:
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/vendor/pep517/in_process/in_process.py", line 280, in <module>
main()
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/vendor/pep517/in_process/in_process.py", line 263, in main
json_out['return_val'] = hook(hook_input['kwargs'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/vendor/pep517/in_process/in_process.py", line 204, in build_wheel
return build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel
return self.build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in build_with_temp_dir
self.run_setup()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup
super(BuildMetaLegacyBackend,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 183, in <module>
setup(
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(attrs)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/core.py", line 177, in setup
return run_commands(dist)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/core.py", line 193, in run_commands
dist.run_commands()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-xh4uxl49/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "setup.py", line 78, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: depthai
ERROR: Failed building wheel for depthai
Failed to build depthai
ERROR: Could not build wheels for depthai which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 21.1.1; however, version 22.1.2 is available.
You should consider upgrading via the '/Users/gregflurry/.pyenv/versions/3.9.5/bin/python -m pip install --upgrade pip' command.
I guess I need HELP!
erik Sorry, I just realized I was supposed to run a different command to install depthai! I ran the command in your post (above), but it too failed with the following:
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
Collecting depthai==2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae
Downloading https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/depthai-2.16.0.0.dev0%2Bfc472bd13f9c853148e7a35fc956f4bc0dbf49ae.tar.gz (361 kB)
|████████████████████████████████| 361 kB 2.0 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: depthai
Building wheel for depthai (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/vendor/pep517/in_process.py build_wheel /var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/tmpymk5hhz0
cwd: /private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-install-jrfwo431/depthai
Complete output (60 lines):
running bdist_wheel
running build
running build_ext
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '2.16.0.0.dev+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae' to '2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae'
warnings.warn(tmpl.format(**locals()))
Traceback (most recent call last):
File "setup.py", line 81, in run
out = subprocess.check_output(['cmake', '--version'])
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 415, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 493, in run
with Popen(popenargs, **kwargs) as process:
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/vendor/pep517/in_process.py", line 280, in <module>
main()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/vendor/pep517/in_process.py", line 263, in main
json_out['return_val'] = hook(hook_input['kwargs'])
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/vendor/pep517/in_process.py", line 204, in build_wheel
return build_backend().build_wheel(wheel_directory, config_settings,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 211, in build_wheel
return self.build_with_temp_dir(['bdist_wheel'], '.whl',
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 197, in build_with_temp_dir
self.run_setup()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 248, in run_setup
super(BuildMetaLegacyBackend,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 193, in <module>
setup(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/init.py", line 165, in setup
return distutils.core.setup(attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "setup.py", line 83, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: depthai
ERROR: Failed building wheel for depthai
Failed to build depthai
ERROR: Could not build wheels for depthai which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command.
I can see one difference between the two different failed commands; the first was run under Python 3.9 (the 3.9.5 I installed to be compatible with my old system) and the second under 3.8 (the default for Monterey). I see one similarity; both can't find cmake. It was supposed to be installed by homebrew? I can't find it in my system using 'where' or 'type'.
Yep, I need help.
erik And more flailing .... I realized that I made yet another mistake; I did not execute the proper command from a new Terminal; sigh. When I opened a new terminal and ran the command with Python 3.9, the command succeeded. In the folder /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages, the command produced the following:
drwxr-xr-x 5 gregflurry staff 160 Jun 16 15:21 depthai
drwxr-xr-x 9 gregflurry staff 288 Jun 16 15:21 depthai-2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae.dist-info
-rwxr-xr-x 1 gregflurry staff 12795200 Jun 16 15:21 depthai.cpython-39-darwin.so
drwxr-xr-x 3 gregflurry staff 96 Jun 16 15:21 depthai.dylibs
So, I think the native wheel(s) did get loaded. I'm now off to clone the repository. Then I'll test in a manual virtual environment, and then in PyCharm.
gregflurry Sorry I should have mentioned that these wheels are (AFAIK) only for Python version 3.9 and 3.10 - so the second time it used 3.9 and wheels got downloaded correctly. Let us know if it works as expected, thanks!
Erik
erik Here is the latest:
(venv) gregflurry@Gregorys-MBP examples % python install_requirements.py
pip 21.1.1 from /Users/gregflurry/depthai-python/venv/lib/python3.9/site-packages/pip (python 3.9)
Traceback (most recent call last):
File "/Users/gregflurry/depthai-python/examples/install_requirements.py", line 88, in <module>
raise RuntimeError(err_str)
RuntimeError: There are no prebuilt wheels for M1 processors. Please open the following link for a solution - https://discuss.luxonis.com/d/69-running-depthai-on-apple-m1-based-macs
I was running in a native Terminal, the same one where I ran the installation of the wheel(s). I seem to be missing something. I am certainly confused!
@gregflurry instead of calling install_requirements, please try the command below. And just try running python examples/ColorCamera/rgb_preview.py
after installing the wheel.
python -mpip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/ depthai==2.16.0.0.dev0+fc472bd13f9c853148e7a35fc956f4bc0dbf49ae
erik Progress. Running rgb_preview does not complain about wheels now. However, now I have much more mundane problems; I'm missing the OpenCV and numpy libraries.
I think I successfully installed numpy the virtual environment. However, I don't know how to install OpenCV. Everything I read suggests I must build it, and, per earlier posts, I don't have cmake. Not sure how to proceed. And let me apologize up front for being such a pain.
Hi gregflurry ,
I think opencv has wheels for M1 as well. Could you try git checkout to latest commit on mac_arm64_wheels
branch and calling python examples/install_requirements.py
(this will install opencv/depthai M1 wheels) and then python examples/ColorCamera/rgb_preview.py
?
THanks, Erik
erik This time, I'll apologize up front. I know very little about git, pip, etc. I've done some searching, including Luxonis documentation, but I cannot determine the proper parameters for the 'git checkout' command.
I looked at the install_requirements on my system, and I can see that simply assumes the M1 wheels don't exist. So, I believe that the checkout downloads new code that does not make that assumption. That said, due to my lack of skills, I'm not sure where git will put the new code and what I do with the old code.
I've reached a point of guilt about taking up too much of your time on this. After today, it will be more than a week before I can do anything on this (vacation). I wonder if it might be better for me to wait until the entire arm64 native install has been defined, tested, and documented. That way you don't waste valuable time guiding clueless me through the process one step at a time. That said, I'm still willing to continue the "one step at a time" until I have to quit.
@gregflurry Could you try the following:
depthai-python
foldergit checkout mac_arm64_wheels
python examples/install_requirements.py
python examples/ColorCamera/rgb_preview.py
erik Step 2 failed. I started with a new native Terminal. There must be something I'm not doing properly. Here is what I get:
gregflurry@Gregorys-MBP ~ % cd depthai-python
gregflurry@Gregorys-MBP depthai-python % git checkout mac_arm64_wheels
Branch 'mac_arm64_wheels' set up to track remote branch 'mac_arm64_wheels' from 'origin'.
Switched to a new branch 'mac_arm64_wheels'
gregflurry@Gregorys-MBP depthai-python % python examples/install_requirements.py
pip 22.1.2 from /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip (python 3.9)
Traceback (most recent call last):
File "/Users/gregflurry/depthai-python/examples/install_requirements.py", line 88, in <module>
raise RuntimeError(err_str)
RuntimeError: There are no prebuilt wheels for M1 processors. Please open the following link for a solution - https://discuss.luxonis.com/d/69-running-depthai-on-apple-m1-based-macs
Step 2 seems to continue to run the old code that simply asserts M1 wheels don't exist.
gregflurry Sorry about that! We forgot to remove this check (I just fixed it now). Could you manually remove line 86-88 (see selected lines here) in the examples/install_requirements.py
file?
Thanks, Erik
erik More progress, but still fails. Clearly missing cmake; there are likely other problems. Here is the full result:
gregflurry@Gregorys-MBP depthai-python % python examples/install_requirements.py
pip 22.1.2 from /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip (python 3.9)
Requirement already satisfied: pip in /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages (22.1.2)
Collecting pyyaml
Downloading PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl (173 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 174.0/174.0 kB 3.2 MB/s eta 0:00:00
Collecting requests
Downloading requests-2.28.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.3 MB/s eta 0:00:00
Requirement already satisfied: numpy in /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages (1.22.4)
Collecting opencv-python!=4.5.4.58
Downloading opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.0/30.0 MB 34.5 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 6.0 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 2.2 MB/s eta 0:00:00
Collecting charset-normalizer=2.0.0
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 kB 5.7 MB/s eta 0:00:00
Installing collected packages: urllib3, pyyaml, opencv-python, idna, charset-normalizer, certifi, requests
WARNING: The script normalizer is installed in '/Users/gregflurry/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed certifi-2022.6.15 charset-normalizer-2.0.12 idna-3.3 opencv-python-4.6.0.66 pyyaml-6.0 requests-2.28.0 urllib3-1.26.9
Submodule 'depthai-core' (https://github.com/luxonis/depthai-core.git) registered for path 'depthai-core'
Cloning into '/Users/gregflurry/depthai-python/depthai-core'...
Submodule 'shared/depthai-bootloader-shared' (https://github.com/luxonis/depthai-bootloader-shared.git) registered for path 'depthai-core/shared/depthai-bootloader-shared'
Submodule 'shared/depthai-shared' (https://github.com/luxonis/depthai-shared.git) registered for path 'depthai-core/shared/depthai-shared'
Cloning into '/Users/gregflurry/depthai-python/depthai-core/shared/depthai-bootloader-shared'...
Cloning into '/Users/gregflurry/depthai-python/depthai-core/shared/depthai-shared'...
Looking in indexes: https://pypi.org/simple, https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local
Collecting depthai==2.16.0.0.dev+cad9184c4b7d86487d1978397d83a0a6b92cd7e4
Downloading https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/depthai-2.16.0.0.dev0%2Bcad9184c4b7d86487d1978397d83a0a6b92cd7e4.tar.gz (361 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 361.5/361.5 kB 4.5 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
╰─> [70 lines of output]
/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-gdr1uix/overlay/lib/python3.9/site-packages/setuptools/dist.py:531: UserWarning: Normalizing '2.16.0.0.dev+cad9184c4b7d86487d1978397d83a0a6b92cd7e4' to '2.16.0.0.dev0+cad9184c4b7d86487d1978397d83a0a6b92cd7e4'
warnings.warn(tmpl.format(**locals()))
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "setup.py", line 81, in run
out = subprocess.check_output(['cmake', '--version'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 424, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 505, in run
with Popen(popenargs, **kwargs) as process:
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 951, in init
self.execute_child(args, executable, preexec_fn, close_fds,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 193, in <module>
setup(
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 177, in setup
return run_commands(dist)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
dist.run_commands()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-_gdr1uix/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "setup.py", line 83, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: depthai
[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
Processing /Users/gregflurry/depthai-python
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
╰─> [70 lines of output]
/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/dist.py:531: UserWarning: Normalizing '2.16.0.0.dev+cad9184c4b7d86487d1978397d83a0a6b92cd7e4' to '2.16.0.0.dev0+cad9184c4b7d86487d1978397d83a0a6b92cd7e4'
warnings.warn(tmpl.format(**locals()))
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "setup.py", line 81, in run
out = subprocess.check_output(['cmake', '--version'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 424, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 505, in run
with Popen(popenargs, **kwargs) as process:
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 193, in <module>
setup(
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 177, in setup
return run_commands(dist)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
dist.run_commands()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-6qptcznw/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "setup.py", line 83, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: depthai
[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
Couldn't install dependencies as wheels and trying to compile from sources failed
Check https://github.com/luxonis/depthai-python#dependencies on retrieving dependencies for compiling from sources
################|| Downloading calibration-sample ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/depthai_calib.json
... 100%, 7 KB, 25356 KB/s, 0 seconds passed
========== Downloading /Users/gregflurry/depthai-python/examples/models/depthai_v5.calib
... 100%, 0 KB, 933 KB/s, 0 seconds passed
========== Downloading /Users/gregflurry/depthai-python/examples/models/BW1098OBC.json
... 100%, 0 KB, 871 KB/s, 0 seconds passed
################|| Downloading concat-model ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/concat_openvino_2021.4_6shave.blob
... 100%, 1 KB, 4786 KB/s, 0 seconds passed
################|| Downloading mobilenet-ssd ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/mobilenet-ssd_openvino_2021.4_6shave.blob
... 100%, 14159 KB, 26569 KB/s, 0 seconds passed
========== Downloading /Users/gregflurry/depthai-python/examples/models/mobilenet-ssd_openvino_2021.4_5shave.blob
... 100%, 14177 KB, 38385 KB/s, 0 seconds passed
========== Downloading /Users/gregflurry/depthai-python/examples/models/mobilenet-ssd_openvino_2021.4_8shave.blob
... 100%, 14154 KB, 45080 KB/s, 0 seconds passed
################|| Downloading normalization-model ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/normalize_openvino_2021.4_4shave.blob
... 100%, 1 KB, 4282 KB/s, 0 seconds passed
################|| Downloading person-detection-retail-0013 ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/person-detection-retail-0013_openvino_2021.4_7shave.blob
... 100%, 2199 KB, 33858 KB/s, 0 seconds passed
################|| Downloading stereo-dataset ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/dataset.zip
... 100%, 2306 KB, 15851 KB/s, 0 seconds passed
========== Unpacking /Users/gregflurry/depthai-python/examples/models/dataset.zip
################|| Downloading tiny-yolo ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/yolo-v3-tiny-tf_openvino_2021.4_6shave.blob
... 100%, 17334 KB, 14119 KB/s, 1 seconds passed
========== Downloading /Users/gregflurry/depthai-python/examples/models/yolo-v4-tiny-tf_openvino_2021.4_6shave.blob
... 100%, 11882 KB, 41187 KB/s, 0 seconds passed
################|| Downloading video-resources ||################
========== Downloading /Users/gregflurry/depthai-python/examples/models/construction_vest.mp4
... 100%, 5296 KB, 17845 KB/s, 0 seconds passed
erik I installed cmake for arm64. The install_requirements script can now find cmake and appears to do more, but there are still several errors I cannot interpret. Output below (I've had to split the output into 2 posts to get within 65K characters):
gregflurry@Gregorys-MBP depthai-python % python examples/install_requirements.py
pip 22.1.2 from /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages/pip (python 3.9)
Requirement already satisfied: pip in /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages (22.1.2)
Requirement already satisfied: pyyaml in /Users/gregflurry/.local/lib/python3.9/site-packages (6.0)
Requirement already satisfied: requests in /Users/gregflurry/.local/lib/python3.9/site-packages (2.28.0)
Requirement already satisfied: numpy in /Users/gregflurry/.pyenv/versions/3.9.5/lib/python3.9/site-packages (1.22.4)
Requirement already satisfied: opencv-python!=4.5.4.58 in /Users/gregflurry/.local/lib/python3.9/site-packages (4.6.0.66)
Requirement already satisfied: certifi>=2017.4.17 in /Users/gregflurry/.local/lib/python3.9/site-packages (from requests) (2022.6.15)
Requirement already satisfied: charset-normalizer=2.0.0 in /Users/gregflurry/.local/lib/python3.9/site-packages (from requests) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/gregflurry/.local/lib/python3.9/site-packages (from requests) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in /Users/gregflurry/.local/lib/python3.9/site-packages (from requests) (3.3)
Looking in indexes: https://pypi.org/simple, https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local
Collecting depthai==2.16.0.0.dev+cad9184c4b7d86487d1978397d83a0a6b92cd7e4
Using cached https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/depthai-2.16.0.0.dev0%2Bcad9184c4b7d86487d1978397d83a0a6b92cd7e4.tar.gz (361 kB)
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
╰─> [783 lines of output]
/private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-build-env-cfk6lnw4/overlay/lib/python3.9/site-packages/setuptools/dist.py:531: UserWarning: Normalizing '2.16.0.0.dev+cad9184c4b7d86487d1978397d83a0a6b92cd7e4' to '2.16.0.0.dev0+cad9184c4b7d86487d1978397d83a0a6b92cd7e4'
warnings.warn(tmpl.format(**locals()))
running bdist_wheel
running build
running build_ext
-- [hunter] Initializing Hunter workspace (9b4e732afd22f40482c11ad6342f7d336634226f)
-- [hunter] https://github.com/cpp-pm/hunter/archive/v0.23.320.tar.gz
-- [hunter] -> /Users/gregflurry/.hunter/Base/Download/Hunter/0.23.320/9b4e732
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating new toolchain...
-- Using toolchain file: /private/var/folders/59/lm552gqn0nvgbmnk5lwyd1gr0000gs/T/pip-install-19450dib/depthai_9034e96dfb6f418d8d70ecba8a4b60a5/build/temp.macosx-11.0-arm64-cpython-39/depthai-core/generated/toolchain.cmake
-- Found Git: /usr/bin/git (found version "2.32.1 (Apple Git-133)")
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /Users/gregflurry/.hunter
-- [hunter] [ Hunter-ID: 9b4e732 | Toolchain-ID: ca965da | Config-ID: 8fd45fc ]
-- [hunter] NLOHMANN_JSON_ROOT: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Install (ver.: 3.9.1)
-- [hunter] Building nlohmann_json
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/args.cmake
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Build
[ 12%] Creating directories for 'nlohmann_json-Release'
[ 25%] Performing download step (download, verify and extract) for 'nlohmann_json-Release'
-- Downloading...
dst='/Users/gregflurry/.hunter/Base/Download/nlohmann_json/3.9.1/f8a20a7/v3.9.1.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/nlohmann/json/archive/v3.9.1.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 3% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 8% complete]
-- [download 10% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 15% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 20% complete]
-- [download 22% complete]
-- [download 24% complete]
-- [download 26% complete]
-- [download 28% complete]
-- [download 30% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 35% complete]
-- [download 37% complete]
-- [download 39% complete]
-- [download 41% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 49% complete]
-- [download 51% complete]
-- [download 53% complete]
-- [download 55% complete]
-- [download 57% complete]
-- [download 59% complete]
-- [download 61% complete]
-- [download 63% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 68% complete]
-- [download 70% complete]
-- [download 72% complete]
-- [download 74% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 79% complete]
-- [download 81% complete]
-- [download 83% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 88% complete]
-- [download 90% complete]
-- [download 92% complete]
-- [download 94% complete]
-- [download 96% complete]
-- [download 98% complete]
-- [download 100% complete]
-- verifying file...
file='/Users/gregflurry/.hunter/Base/Download/nlohmann_json/3.9.1/f8a20a7/v3.9.1.tar.gz'
-- Downloading... done
-- extracting...
src='/Users/gregflurry/.hunter/Base/Download/nlohmann_json/3.9.1/f8a20a7/v3.9.1.tar.gz'
dst='/Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 37%] No update step for 'nlohmann_json-Release'
[ 50%] No patch step for 'nlohmann_json-Release'
[ 62%] Performing configure step for 'nlohmann_json-Release'
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/args.cmake
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using the single-header code from /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Source/single_include/
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Build/nlohmann_json-Release-prefix/src/nlohmann_json-Release-build
[ 75%] Performing build step for 'nlohmann_json-Release'
[ 87%] Performing install step for 'nlohmann_json-Release'
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/include
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/include/nlohmann
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/include/nlohmann/json.hpp
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/Install/lib/pkgconfig/nlohmann_json.pc
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json/args.cmake
[100%] Completed 'nlohmann_json-Release'
[100%] Built target nlohmann_json-Release
-- [hunter] Build step successful (dir: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/nlohmann_json)
-- [hunter] Cache saved: /Users/gregflurry/.hunter/Base/Cache/raw/4811ad0305774da90b348bed50d74c4ef15d4887.tar.bz2
-- [hunter] XLINK_ROOT: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Install (ver.: luxonis-2021.4.2-develop)
-- [hunter] Building XLink
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/XLink/args.cmake
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/XLink/Build
[ 12%] Creating directories for 'XLink-Release'
[ 25%] Performing download step (download, verify and extract) for 'XLink-Release'
-- Downloading...
dst='/Users/gregflurry/.hunter/Base/Download/XLink/luxonis-2021.4.2-develop/dd821a5/a5bd7e7dda40e08dc2d6570f6a8c766ba3332703.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/luxonis/XLink/archive/a5bd7e7dda40e08dc2d6570f6a8c766ba3332703.tar.gz'
-- verifying file...
file='/Users/gregflurry/.hunter/Base/Download/XLink/luxonis-2021.4.2-develop/dd821a5/a5bd7e7dda40e08dc2d6570f6a8c766ba3332703.tar.gz'
-- Downloading... done
-- extracting...
src='/Users/gregflurry/.hunter/Base/Download/XLink/luxonis-2021.4.2-develop/dd821a5/a5bd7e7dda40e08dc2d6570f6a8c766ba3332703.tar.gz'
dst='/Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/XLink/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 37%] No update step for 'XLink-Release'
[ 50%] No patch step for 'XLink-Release'
[ 62%] Performing configure step for 'XLink-Release'
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/XLink/args.cmake
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring XLink with the following options:
-- XLINK_BUILD_EXAMPLES: OFF
-- XLINK_BUILD_TESTS: OFF
-- XLINK_LIBUSB_LOCAL:
-- XLINK_LIBUSB_SYSTEM: OFF
-- Performing Test FLAG-Werror=switch-enum
-- Performing Test FLAG-Werror=switch-enum - Success
-- [hunter] HUNTER_ROOT: /Users/gregflurry/.hunter
-- [hunter] [ Hunter-ID: 9b4e732 | Toolchain-ID: ca965da | Config-ID: 8fd45fc ]
-- [hunter] LIBUSB-LUXONIS_ROOT: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Install (ver.: 1.0.24-cmake)
-- [hunter] Building libusb-luxonis
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/args.cmake
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Build
[ 12%] Creating directories for 'libusb-luxonis-Release'
[ 25%] Performing download step (download, verify and extract) for 'libusb-luxonis-Release'
-- Downloading...
dst='/Users/gregflurry/.hunter/Base/Download/libusb-luxonis/1.0.24-cmake/2d79573/b7e4548958325b18feb73977163ad44398099534.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/luxonis/libusb/archive/b7e4548958325b18feb73977163ad44398099534.tar.gz'
-- [download 3% complete]
-- [download 11% complete]
-- [download 25% complete]
-- [download 53% complete]
-- [download 89% complete]
-- [download 100% complete]
-- verifying file...
file='/Users/gregflurry/.hunter/Base/Download/libusb-luxonis/1.0.24-cmake/2d79573/b7e4548958325b18feb73977163ad44398099534.tar.gz'
-- Downloading... done
-- extracting...
src='/Users/gregflurry/.hunter/Base/Download/libusb-luxonis/1.0.24-cmake/2d79573/b7e4548958325b18feb73977163ad44398099534.tar.gz'
dst='/Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 37%] No update step for 'libusb-luxonis-Release'
[ 50%] No patch step for 'libusb-luxonis-Release'
[ 62%] Performing configure step for 'libusb-luxonis-Release'
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/cache.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/args.cmake
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_NFDS_T
-- Performing Test HAVE_NFDS_T - Success
-- Looking for pipe2
-- Looking for pipe2 - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - found
-- Looking for pthread_condattr_setclock
-- Looking for pthread_condattr_setclock - not found
-- Looking for pthread_threadid_np
-- Looking for pthread_threadid_np - found
-- Performing Test HAVE_SYS_TIME_H
-- Performing Test HAVE_SYS_TIME_H - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Build/libusb-luxonis-Release-prefix/src/libusb-luxonis-Release-build
[ 75%] Performing build step for 'libusb-luxonis-Release'
[ 20%] Building C object CMakeFiles/usb-1.0.dir/libusb/core.c.o
[ 20%] Building C object CMakeFiles/usb-1.0.dir/libusb/descriptor.c.o
[ 30%] Building C object CMakeFiles/usb-1.0.dir/libusb/hotplug.c.o
[ 40%] Building C object CMakeFiles/usb-1.0.dir/libusb/io.c.o
[ 50%] Building C object CMakeFiles/usb-1.0.dir/libusb/strerror.c.o
[ 60%] Building C object CMakeFiles/usb-1.0.dir/libusb/sync.c.o
[ 70%] Building C object CMakeFiles/usb-1.0.dir/libusb/os/events_posix.c.o
[ 80%] Building C object CMakeFiles/usb-1.0.dir/libusb/os/threads_posix.c.o
[ 90%] Building C object CMakeFiles/usb-1.0.dir/libusb/os/darwin_usb.c.o
[100%] Linking C shared library libusb-1.0.dylib
[100%] Built target usb-1.0
[ 87%] Performing install step for 'libusb-luxonis-Release'
Consolidate compiler generated dependencies of target usb-1.0
[100%] Built target usb-1.0
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Install/lib/libusb-1.0.dylib
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Install/include/libusb-1.0/libusb.h
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Install/lib/cmake/usb-1.0/usb-1.0Config.cmake
-- Installing: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/Install/lib/cmake/usb-1.0/usb-1.0Config-release.cmake
loading initial cache file /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis/args.cmake
[100%] Completed 'libusb-luxonis-Release'
[100%] Built target libusb-luxonis-Release
-- [hunter] Build step successful (dir: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/libusb-luxonis)
-- [hunter] Cache saved: /Users/gregflurry/.hunter/Base/Cache/raw/9a4675deaff9bc67bb30f1a37c6c9374b980adb8.tar.bz2
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test FLAG-Wformat=2
-- Performing Test FLAG-Wformat=2 - Success
-- Performing Test FLAG-Wmisleading-indentation
-- Performing Test FLAG-Wmisleading-indentation - Success
-- Performing Test FLAG-Wduplicated-cond
-- Performing Test FLAG-Wduplicated-cond - Failed
-- Performing Test FLAG-Wduplicated-branches
-- Performing Test FLAG-Wduplicated-branches - Failed
-- Performing Test FLAG-Wnull-dereference
-- Performing Test FLAG-Wnull-dereference - Success
-- Performing Test FLAG-Wsign-compare
-- Performing Test FLAG-Wsign-compare - Success
-- Performing Test FLAG-Wtype-limits
-- Performing Test FLAG-Wtype-limits - Success
-- Performing Test FLAG-Wno-unused-command-line-argument
-- Performing Test FLAG-Wno-unused-command-line-argument - Success
-- Performing Test FLAG-Wno-unused-parameter
-- Performing Test FLAG-Wno-unused-parameter - Success
-- Performing Test FLAG-Wno-format-nonliteral
-- Performing Test FLAG-Wno-format-nonliteral - Success
-- Performing Test FLAG-Wno-gnu-zero-variadic-macro-arguments
-- Performing Test FLAG-Wno-gnu-zero-variadic-macro-arguments - Success
-- Performing Test FLAG-Werror=self-assign-field
-- Performing Test FLAG-Werror=self-assign-field - Success
-- Performing Test FLAG-Werror=unused-lambda-capture
-- Performing Test FLAG-Werror=unused-lambda-capture - Success
-- Performing Test FLAG-Werror=return-type
-- Performing Test FLAG-Werror=return-type - Success
-- Performing Test FLAG-Werror=sign-compare
-- Performing Test FLAG-Werror=sign-compare - Success
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gregflurry/.hunter/Base/9b4e732/ca965da/8fd45fc/Build/XLink/Build/XLink-Release-prefix/src/XLink-Release-build
[ 75%] Performing build step for 'XLink-Release'
[ 10%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformDeviceControl.c.o
[ 10%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformData.c.o
[ 15%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformDeviceSearch.c.o
[ 20%] Building CXX object CMakeFiles/XLink.dir/src/pc/PlatformDeviceFd.cpp.o
[ 25%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/pcie_host.c.o
[ 30%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/tcpip_host.c.o
[ 35%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/usb_mx_id.c.o
[ 40%] Building CXX object CMakeFiles/XLink.dir/src/pc/protocols/usb_host.cpp.o
[ 45%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkData.c.o
[ 50%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkDevice.c.o
[ 55%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkDispatcher.c.o
[ 60%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkDispatcherImpl.c.o
[ 65%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkLog.c.o
[ 70%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkPrivateDefines.c.o
[ 75%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkPrivateFields.c.o
[ 80%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkSemaphore.c.o
[ 85%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkStream.c.o
[ 90%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkStringUtils.c.o
[ 95%] Building C object CMakeFiles/XLink.dir/src/pc/MacOS/pthread_semaphore.c.o
[100%] Linking CXX static library libXLink.a
[100%] Built target XLink
[ 87%] Performing install step for 'XLink-Release'
Consolidate compiler generated dependencies of target XLink
[100%] Built target XLink