I am having a terrible time trying to figure out why I can't get my depthai to install the latest release. I uninstalled depthai and the sdk via pip, deleted the git directory and cloned the git again and ran the install_requirements.py and did a pip install depthai and depthai-sdk and I am still stuck on sdk-1.9.4.
Any ideas?
(depthai) PS C:\Users\User\code> git clone https://github.com/luxonis/depthai.git
Cloning into 'depthai'...
remote: Enumerating objects: 20743, done.
remote: Counting objects: 100% (6278/6278), done.
remote: Compressing objects: 100% (2242/2242), done.
remote: Total 20743 (delta 4237), reused 5832 (delta 3990), pack-reused 14465
Receiving objects: 100% (20743/20743), 247.96 MiB | 17.30 MiB/s, done.
Resolving deltas: 100% (13662/13662), done.
(depthai) PS C:\Users\User\code> pip uninstall depthai-sdk
Found existing installation: depthai-sdk 1.9.4
Uninstalling depthai-sdk-1.9.4:
Would remove:
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai_sdk-1.9.4.dist-info\*
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai_sdk\*
Would not remove (might be manually added):
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai_sdk\components\nn_component.py.old
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai_sdk\components\template_multi_stage_script.py.old
Proceed (Y/n)?
Successfully uninstalled depthai-sdk-1.9.4
(depthai) PS C:\Users\User\code> pip uninstall depthai
Found existing installation: depthai 2.21.2.0
Uninstalling depthai-2.21.2.0:
Would remove:
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai-2.21.2.0.dist-info\*
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai.cp311-win_amd64.pyd
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai\__init__.pyi
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai\node.pyi
c:\users\user\anaconda3\envs\depthai\lib\site-packages\depthai\py.typed
c:\users\user\anaconda3\envs\depthai\lib\site-packages\libusb-1.0.dll
Proceed (Y/n)?
Successfully uninstalled depthai-2.21.2.0
(depthai) PS C:\Users\User\code> cd depthai
(depthai) PS C:\Users\User\code\depthai> ls
Directory: C:\Users\User\code\depthai
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2023-08-18 05:15 .github
d----- 2023-08-18 05:15 apps
d----- 2023-08-18 05:15 autostart
d----- 2023-08-18 05:15 depthai_calibration
d----- 2023-08-18 05:15 depthai_helpers
d----- 2023-08-18 05:15 depthai_sdk
d----- 2023-08-18 05:15 entrypoint
d----- 2023-08-18 05:15 gui
d----- 2023-08-18 05:15 launcher
d----- 2023-08-18 05:15 resources
d----- 2023-08-18 05:15 tests
-a---- 2023-08-18 05:15 753 .dockerignore
-a---- 2023-08-18 05:15 11 .gitattributes
-a---- 2023-08-18 05:15 787 .gitignore
-a---- 2023-08-18 05:15 243 .gitmodules
-a---- 2023-08-18 05:15 52975 calibrate.py
-a---- 2023-08-18 05:15 313 callbacks.py
-a---- 2023-08-18 05:15 8410 charuco_11x8.pdf
-a---- 2023-08-18 05:15 52430 depthai_demo.py
-a---- 2023-08-18 05:15 404 Dockerfile
-a---- 2023-08-18 05:15 5424 docker_dependencies.sh
-a---- 2023-08-18 05:15 2010 install_requirements.py
-a---- 2023-08-18 05:15 1093 LICENSE
-a---- 2023-08-18 05:15 2100 log_system_information.py
-a---- 2023-08-18 05:15 6984 README.md
-a---- 2023-08-18 05:15 296 requirements-optional.txt
-a---- 2023-08-18 05:15 845 requirements.txt
(depthai) PS C:\Users\User\code\depthai> python .\install_requirements.py
pip 23.2.1 from C:\Users\User\AppData\Roaming\Python\Python311\site-packages\pip (python 3.11)
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: pip in c:\users\user\appdata\roaming\python\python311\site-packages (23.2.1)
WARNING: Skipping opencv-python as it is not installed.
Found existing installation: opencv-contrib-python 4.5.5.62
Uninstalling opencv-contrib-python-4.5.5.62:
Successfully uninstalled opencv-contrib-python-4.5.5.62
WARNING: Skipping depthai as it is not installed.
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://www.piwheels.org/simple, https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/wheels/, https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
Requirement already satisfied: requests==2.26.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from -r requirements.txt (line 1)) (2.26.0)
Requirement already satisfied: numpy>=1.21.4 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from -r requirements.txt (line 3)) (1.25.0)
Collecting numpy>=1.21.4 (from -r requirements.txt (line 3))
Obtaining dependency information for numpy>=1.21.4 from https://files.pythonhosted.org/packages/72/b2/02770e60c4e2f7e158d923ab0dea4e9f146a2dbf267fec6d8dc61d475689/numpy-1.25.2-cp311-cp311-win_amd64.whl.metadata
Downloading numpy-1.25.2-cp311-cp311-win_amd64.whl.metadata (5.7 kB)
Collecting opencv-contrib-python==4.5.5.62 (from -r requirements.txt (line 4))
Downloading opencv_contrib_python-4.5.5.62-cp36-abi3-win_amd64.whl (42.2 MB)
---------------------------------------- 42.2/42.2 MB 27.3 MB/s eta 0:00:00
Collecting depthai-sdk==1.9.4 (from -r requirements.txt (line 5))
Downloading https://www.piwheels.org/simple/depthai-sdk/depthai_sdk-1.9.4-py3-none-any.whl (167 kB)
---------------------------------------- 167.7/167.7 kB 842.1 kB/s eta 0:00:00
Requirement already satisfied: pyqt5<5.15.6,>5 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements.txt (line 7)) (5.15.5)
Collecting depthai==2.21.2.0 (from -r requirements.txt (line 9))
Downloading depthai-2.21.2.0-cp311-cp311-win_amd64.whl (10.0 MB)
---------------------------------------- 10.0/10.0 MB 30.3 MB/s eta 0:00:00
Requirement already satisfied: Qt.py in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from -r requirements.txt (line 10)) (1.3.8)
Requirement already satisfied: scipy in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements.txt (line 11)) (1.11.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests==2.26.0->-r requirements.txt (line 1)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests==2.26.0->-r requirements.txt (line 1)) (2023.7.22)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests==2.26.0->-r requirements.txt (line 1)) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests==2.26.0->-r requirements.txt (line 1)) (3.4)
Requirement already satisfied: blobconverter>=1.2.8 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.4.2)
Requirement already satisfied: pytube>=12.1.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (15.0.0)
Requirement already satisfied: PyTurboJPEG==1.6.4 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.6.4)
Requirement already satisfied: marshmallow==3.17.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (3.17.0)
Requirement already satisfied: distinctipy in c:\users\user\appdata\roaming\python\python311\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.2.2)
Requirement already satisfied: xmltodict in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk==1.9.4->-r requirements.txt (line 5)) (0.13.0)
Requirement already satisfied: packaging>=17.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from marshmallow==3.17.0->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (23.1)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\users\user\appdata\roaming\python\python311\site-packages (from pyqt5<5.15.6,>5->-r requirements.txt (line 7)) (12.12.1)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in c:\users\user\appdata\roaming\python\python311\site-packages (from pyqt5<5.15.6,>5->-r requirements.txt (line 7)) (5.15.2)
Requirement already satisfied: types-PySide2 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from Qt.py->-r requirements.txt (line 10)) (5.15.2.1.6)
Requirement already satisfied: PyYAML in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (6.0.1)
Requirement already satisfied: boto3 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.28.29)
Requirement already satisfied: botocore<1.32.0,>=1.31.29 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.31.29)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.0.1)
Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (0.6.2)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from botocore<1.32.0,>=1.31.29->boto3->blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (2.8.2)
Requirement already satisfied: six>=1.5 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.32.0,>=1.31.29->boto3->blobconverter>=1.2.8->depthai-sdk==1.9.4->-r requirements.txt (line 5)) (1.16.0)
Downloading numpy-1.25.2-cp311-cp311-win_amd64.whl (15.5 MB)
---------------------------------------- 15.5/15.5 MB 28.4 MB/s eta 0:00:00
Installing collected packages: numpy, depthai, opencv-contrib-python, depthai-sdk
Successfully installed depthai-2.21.2.0 depthai-sdk-1.9.4 numpy-1.25.2 opencv-contrib-python-4.5.5.62
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Ignoring open3d: markers 'platform_machine != "armv6l" and platform_machine != "armv7l" and python_version < "3.9" and platform_machine != "aarch64"' don't match your environment
Requirement already satisfied: ffmpy3==0.2.4 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements-optional.txt (line 2)) (0.2.4)
Requirement already satisfied: pyusb==1.2.1 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements-optional.txt (line 3)) (1.2.1)
Collecting sentry-sdk==1.5.1 (from -r requirements-optional.txt (line 4))
Downloading sentry_sdk-1.5.1-py2.py3-none-any.whl (140 kB)
---------------------------------------- 140.9/140.9 kB 4.2 MB/s eta 0:00:00
Requirement already satisfied: mcap>=0.0.10 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements-optional.txt (line 7)) (1.1.0)
Requirement already satisfied: mcap-ros1-support==0.0.8 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements-optional.txt (line 8)) (0.0.8)
Requirement already satisfied: rosbags==0.9.11 in c:\users\user\appdata\roaming\python\python311\site-packages (from -r requirements-optional.txt (line 9)) (0.9.11)
Requirement already satisfied: urllib3>=1.10.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from sentry-sdk==1.5.1->-r requirements-optional.txt (line 4)) (1.26.16)
Requirement already satisfied: certifi in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from sentry-sdk==1.5.1->-r requirements-optional.txt (line 4)) (2023.7.22)
Requirement already satisfied: lz4 in c:\users\user\appdata\roaming\python\python311\site-packages (from rosbags==0.9.11->-r requirements-optional.txt (line 9)) (4.3.2)
Requirement already satisfied: numpy in c:\users\user\appdata\roaming\python\python311\site-packages (from rosbags==0.9.11->-r requirements-optional.txt (line 9)) (1.25.2)
Requirement already satisfied: ruamel.yaml in c:\users\user\appdata\roaming\python\python311\site-packages (from rosbags==0.9.11->-r requirements-optional.txt (line 9)) (0.17.21)
Requirement already satisfied: zstandard in c:\users\user\appdata\roaming\python\python311\site-packages (from rosbags==0.9.11->-r requirements-optional.txt (line 9)) (0.21.0)
Installing collected packages: sentry-sdk
Successfully installed sentry-sdk-1.5.1
(depthai) PS C:\Users\User\code\depthai> pip install depthai-sdk
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: depthai-sdk in c:\users\user\appdata\roaming\python\python311\site-packages (1.9.4)
Requirement already satisfied: opencv-contrib-python>4 in c:\users\user\appdata\roaming\python\python311\site-packages (from depthai-sdk) (4.5.5.62)
Requirement already satisfied: blobconverter>=1.2.8 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk) (1.4.2)
Requirement already satisfied: pytube>=12.1.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk) (15.0.0)
Requirement already satisfied: depthai>=2.20.1.0 in c:\users\user\appdata\roaming\python\python311\site-packages (from depthai-sdk) (2.21.2.0)
Requirement already satisfied: PyTurboJPEG==1.6.4 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk) (1.6.4)
Requirement already satisfied: marshmallow==3.17.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk) (3.17.0)
Requirement already satisfied: distinctipy in c:\users\user\appdata\roaming\python\python311\site-packages (from depthai-sdk) (1.2.2)
Requirement already satisfied: xmltodict in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from depthai-sdk) (0.13.0)
Requirement already satisfied: numpy>=1.21 in c:\users\user\appdata\roaming\python\python311\site-packages (from depthai-sdk) (1.25.2)
Requirement already satisfied: packaging>=17.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from marshmallow==3.17.0->depthai-sdk) (23.1)
Requirement already satisfied: requests in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from blobconverter>=1.2.8->depthai-sdk) (2.26.0)
Requirement already satisfied: PyYAML in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from blobconverter>=1.2.8->depthai-sdk) (6.0.1)
Requirement already satisfied: boto3 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from blobconverter>=1.2.8->depthai-sdk) (1.28.29)
Requirement already satisfied: botocore<1.32.0,>=1.31.29 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk) (1.31.29)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk) (1.0.1)
Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from boto3->blobconverter>=1.2.8->depthai-sdk) (0.6.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests->blobconverter>=1.2.8->depthai-sdk) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests->blobconverter>=1.2.8->depthai-sdk) (2023.7.22)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests->blobconverter>=1.2.8->depthai-sdk) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from requests->blobconverter>=1.2.8->depthai-sdk) (3.4)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from botocore<1.32.0,>=1.31.29->boto3->blobconverter>=1.2.8->depthai-sdk) (2.8.2)
Requirement already satisfied: six>=1.5 in c:\users\user\anaconda3\envs\depthai\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.32.0,>=1.31.29->boto3->blobconverter>=1.2.8->depthai-sdk) (1.16.0)
(depthai) PS C:\Users\User\code\depthai> python .\log_system_information.py
{
"architecture": "64bit WindowsPE",
"machine": "AMD64",
"platform": "Windows-10-10.0.19045-SP0",
"processor": "Intel64 Family 6 Model 151 Stepping 5, GenuineIntel",
"python_build": "main Apr 19 2023 23:46:34",
"python_compiler": "MSC v.1916 64 bit (AMD64)",
"python_implementation": "CPython",
"python_version": "3.11.3",
"release": "10",
"system": "Windows",
"version": "10.0.19045",
"win32_ver": "10 10.0.19045 SP0 Multiprocessor Free",
"packages": [
"av @ file:///D:/bld/av_1687182586167/work",
"blobconverter==1.4.2",
"boto3==1.28.29",
"botocore==1.31.29",
"certifi==2023.7.22",
"charset-normalizer==2.0.12",
"depthai==2.21.2.0",
"depthai-pipeline-graph==0.0.5",
"depthai-sdk==1.9.4",
"distinctipy==1.2.2",
"ffmpy3==0.2.4",
"idna==3.4",
"jmespath==1.0.1",
"lz4==4.3.2",
"marshmallow==3.17.0",
"mcap==1.1.0",
"mcap-ros1-support==0.0.8",
"NodeGraphQt==0.6.10",
"numpy==1.25.2",
"objprint==0.2.2",
"opencv-contrib-python==4.5.5.62",
"packaging==23.1",
"Pillow @ file:///D:/bld/pillow_1688255919575/work",
"pip==23.2.1",
"psutil==5.9.5",
"PyQt5==5.15.5",
"PyQt5-Qt5==5.15.2",
"PyQt5-sip==12.12.1",
"python-dateutil==2.8.2",
"pytube==15.0.0",
"PyTurboJPEG==1.6.4",
"pyusb==1.2.1",
"PyYAML==6.0.1",
"Qt.py==1.3.8",
"requests==2.26.0",
"rosbags==0.9.11",
"ruamel.yaml==0.17.21",
"s3transfer==0.6.2",
"scipy==1.11.2",
"sentry-sdk==1.5.1",
"setuptools==66.0.0",
"six==1.16.0",
"types-pyside2==5.15.2.1.6",
"urllib3==1.26.16",
"vizplugins==0.1.3",
"viztracer==0.15.6",
"wheel==0.38.4",
"xmltodict==0.13.0",
"zstandard==0.21.0"
],
"usb": [
"No USB backend found"
],
"uname": [
"Windows 12100F 10 10.0.19045 AMD64 Intel64 Family 6 Model 151 Stepping 5, GenuineIntel"
]
}
System info gathered successfully - saved as "log_system_information.json"
(depthai) PS C:\Users\User\code\depthai>