Hi Syun
Try:
python -m pip install --upgrade pip setuptools
- install prebuilt wheel from https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/ (i assume you are looking for win-amd64.
Thanks,
Jaka
Hi Syun
Try:
python -m pip install --upgrade pip setuptools
Thanks,
Jaka
Thank you for answering .
I don't know how to download this pre-built wheel.
Should I download it with pip or git?
Should I put it in a specific file somewhere?
I ran this code.
pip install depthai-0.0.2.1+00ca3534d2e92af2b8e3aff9a8e5bc96b6bb1993-cp35-cp35m-win_amd64.whl
And this error occurred.
WARNING: Requirement 'depthai-0.0.2.1+00ca3534d2e92af2b8e3aff9a8e5bc96b6bb1993-cp35-cp35m-win_amd64.whl' looks like a filename, but the file does not exist
ERROR: depthai-0.0.2.1+00ca3534d2e92af2b8e3aff9a8e5bc96b6bb1993-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
python version is 3.12.
Please tell me how to choose wheels.
Hi jakaskerl
Thank you
pip install [wheel file name]in the command prompt, right?
Please tell me what wheel file name I should choose this time.
https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/depthai/
There are many wheel files in this list, so which one should I choose?
I will introduce the performance of my PC if necessary.
【OS】Windows 11 Home 64
【CPU】AMD Ryzen Z1 Extreme
Excuse me, I ran the code below and got an error.
The error content looks like this:
ERROR: depthai-2.24.0.0.dev0+855e0208361d60ad250bc83ae64ce7d44e23140d-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
Do you know what caused the error?
Hi Syun
Uh, sorry, I was sure you had python 3.9. We don't currently support python 3.12 (that said I, it should be supported soon). That's why you can't install it in the first place. I suggest using python 3.11.
If you get similar error, then this wheel (for 3.11) should install just fine.
Sorry for the confusion.
EDIT: We added python3.12 to supported versions. It should now work. The wheel for the 3.12 version will be available in the artifactory shortly.
Thanks,
Jaka
I had the same problem as @Syun on Windows 11/Python 3.12. Fixed by downgrading to Python 3.11, 3.12 not supported for me @jakaskerl
Hi @userOfCamera
What do you mean by "not supported for me"? Does this wheel not work?
Thanks,
Jaka
jakaskerl The pip download did not work, I had the exact same error as OP (it worked fine on Python 3.11)
Hi userOfCamera
It's not yet mainlined so main
branch will still pull from the same url. Either switch to luxonis/depthai-pythontree/update_python_312 and run install_requirements.py, or download the wheel and install it manually.
Thanks,
Jaka