Hi jakaskerl
indeed the finder reports an excessive memory usage problem but i checked the ram and processor usage values and these seem to be normal.
I tried to install pyqt5 with manually and successfully but now the terminal gives different error.
(base) paolopastorino@MBP-di-Paolo ~ % bash -c "$(curl -fL https://docs.luxonis.com/install_depthai.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7975 100 7975 0 0 10107 0 --:--:-- --:--:-- --:--:-- 10107
ENTER absolute installation path for depthai or leave empty and default path: $HOME will be used.
Using default installation path: /Users/paolopastorino/Luxonis
Directory: /Users/paolopastorino/Luxonis is OK
Python version: Python 3.11.5 found.
If you want to use it for installation, press ENTER key, otherwise input path to python binary.
Press ENTER key to continue
_____________________________
Calling macOS_installer.sh
_____________________________
Running macOS installer.
Installing global dependencies.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5671 100 5671 0 0 7660 0 --:--:-- --:--:-- --:--:-- 7660
During Homebrew install, certain commands need 'sudo'. Requesting access...
>> Installing Homebrew from https://raw.githubusercontent.com/Homebrew/install/master/install.sh
Warning: Running in non-interactive mode because `$CI` is set.
==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R paolopastorino:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
HEAD is now at 3c8b4949b Merge pull request #15900 from clint-stripe/clint/homebrew-curlrc-vendor-install
Installing from the API is now the default behaviour!
You can save space and time by running:
brew untap homebrew/core
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/paolopastorino/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
https://docs.brew.sh
>> brew install git
Warning: git 2.42.0 is already installed and up-to-date.
To reinstall 2.42.0, run:
brew reinstall git
=== Installed successfully! IMPORTANT: For changes to take effect,
please close and reopen the terminal window, or run: exec $SHELL
Finished installing global libraries.
Upgrading brew.
Already up-to-date.
Downloading demo app.
Clone in '/Users/paolopastorino/Luxonis/depthai' in corso...
remote: Enumerating objects: 20801, done.
remote: Counting objects: 100% (6336/6336), done.
remote: Compressing objects: 100% (2267/2267), done.
remote: Total 20801 (delta 4285), reused 5868 (delta 4023), pack-reused 14465
Ricezione degli oggetti: 100% (20801/20801), 247.96 MiB | 11.41 MiB/s, fatto.
Risoluzione dei delta: 100% (13710/13710), fatto.
Si è già su 'main'
Il tuo branch è aggiornato rispetto a 'origin/main'.
Già aggiornato.
Already up-to-date.
Creating python virtual environment in /Users/paolopastorino/Luxonis/venv
/opt/homebrew/bin/python3
Requirement already satisfied: pip in /Users/paolopastorino/Luxonis/venv/lib/python3.11/site-packages (23.2.1)
Collecting pyqt5
Using cached PyQt5-5.15.9.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Querying qmake about your Qt installation...
Traceback (most recent call last):
File "/Users/paolopastorino/Luxonis/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/paolopastorino/Luxonis/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/paolopastorino/Luxonis/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/yv/hd2dj2l56qjfl460631rv9h80000gn/T/pip-build-env-w730m3vl/overlay/lib/python3.11/site-packages/sipbuild/api.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/yv/hd2dj2l56qjfl460631rv9h80000gn/T/pip-build-env-w730m3vl/overlay/lib/python3.11/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/private/var/folders/yv/hd2dj2l56qjfl460631rv9h80000gn/T/pip-build-env-w730m3vl/overlay/lib/python3.11/site-packages/sipbuild/project.py", line 602, in setup
self.update(tool)
File "/private/var/folders/yv/hd2dj2l56qjfl460631rv9h80000gn/T/pip-install-t443rqh1/pyqt5_2b209c1220c24527b03cdc19a4696905/project.py", line 165, in update
raise UserException(
sipbuild.exceptions.UserException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 1 at line 239
(base) paolopastorino@MBP-di-Paolo ~ %