Good day All,
My apologies for not checking in and monitoring my thread on this. Sadly, all is still a no-go on my side. I tried to install the latest version (v.3.0.9) using the Windows Setup program and it fails to install. Below is the last few lines showing the error
`Installing collected packages: opencv-python, opencv-contrib-python, depthai, pyqt5, depthai-sdk, argcomplete
Message Box (Error Installing DepthAI Requirements): Couldn't install DepthAI requirements. Check internet connection and try again. Log available at: E:\Software\DepthAI\depthai\launcher\log.dat
Install dependencies call failed with return code: 1, message: WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'E:\Software\DepthAI\venv\Lib\site-packages\PyQt5\QtCore.pyd'
Check the permissions.
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -yqt5 (e:\software\depthai\venv\lib\site-packages)
Traceback (most recent call last):
File "E:\Software\DepthAI\depthai\install_requirements.py", line 47, in <module>
subprocess.check_call(pip_package_install + ["-r", "requirements.txt"], cwd=scriptDirectory)
File "E:\Software\DepthAI\WPy64-3950\python-3.9.5.amd64\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['E:\Software\DepthAI\venv\Scripts\python.exe', '-m', 'pip', 'install', '-U', '--prefer-binary', '-r', 'requirements.txt']' returned non-zero exit status 1.`
I then uninstalled everything and performed the manual installation via git, etc. All installed, but when I try and run the demo script, I get the same error as before:
E:\Software\depthai>python depthai_demo.py
Using depthai module from: C:\Users\sam\AppData\Roaming\Python\Python39\site-packages\depthai.cp39-win_amd64.pyd
Depthai version installed: 2.14.1.0.dev+27fa4519f289498e84768ab5229a1a45efb7e4df
Setting up demo...
Available devices:
[0] 18443010F158AB1200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.HIGH
Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
Creating MJPEG link for MonoCamera node and left xlink stream...
Creating MJPEG link for MonoCamera node and right xlink stream...
Creating MJPEG link for ColorCamera node and color xlink stream...
Error while running demo script... Command '"C:\Users\sam\AppData\Local\Programs\Python\Python39\python.exe" depthai_demo.py --noSupervisor --guiType qt' returned non-zero exit status 3221226505.
Waiting 5s for the device to be discoverable again...
Setting up demo...
Available devices:
[0] 18443010F158AB1200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.HIGH
Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
Creating MJPEG link for ColorCamera node and color xlink stream...
Traceback (most recent call last):
File "E:\Software\depthai\depthai_demo.py", line 998, in <module>
s.runDemo(args)
File "E:\Software\depthai\depthai_helpers\supervisor.py", line 46, in runDemo
subprocess.check_call(' '.join([f'"{sys.executable}"', "depthai_demo.py"] + new_args), env=new_env, shell=True, cwd=repo_root)
File "C:\Users\sam\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"C:\Users\sam\AppData\Local\Programs\Python\Python39\python.exe" depthai_demo.py --noSupervisor --guiType cv' returned non-zero exit status 3221226505.
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
I never had a chance to try and install on another Win10 machine, but will try to do so over the next few days.
Cheers,
Sam