Error downloading whl file (HTTP Error 403: Forbidden)

Hey all, got problem while trying downloading the zed python file.

Using the script direclty :

Detected platform:
win_amd64
Python 3.11
ZED SDK 3.8
→ Checking if https://download.stereolabs.com/zedsdk/3.8/whl/win_amd64/pyzed-3.8-cp311-cp311-win_amd64.whl exists and is available
Error downloading whl file (HTTP Error 403: Forbidden)

Unsupported platforms, no pyzed file available for this configuration
It can be manually installed from source GitHub - stereolabs/zed-python-api: Python API for the ZED SDK

Trying this : Python API out-of-date - Software - Stereolabs Community

C:>python -m pip install C:\Users\ludov\Downloads\pyzed-3.8-cp39-cp39-win_amd64.whl
ERROR: pyzed-3.8-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

Please help. Thanks

Hello and thank you for reaching out to us,

Unfortunately, we don’t support Python 3.11 yet. Please try with Python 3.10.

Antoine

Thank you, I will try now.

I dont want to be rude, but :

3.11 is 3.6+, maybe some precision on the doc could help.

Hello @alassagne , for several days I have the same problem as @PrivHate, I have tried multiple python versions (3.7, 3.9, 3.10) but I always got the same message that “pyzed is not available for this configuration”

C:\Program Files (x86)\ZED SDK>python get_python_api.py
-> Downloading to 'C:\Program Files (x86)\ZED SDK'
Detected platform:
         win
         Python 3.10
         ZED SDK 3.8
-> Checking if https://download.stereolabs.com/zedsdk/3.8/whl/win/pyzed-3.8-cp310-cp310-win_amd64.whl exists and is available
Error downloading whl file (HTTP Error 403: Forbidden)

Unsupported platforms, no pyzed file available for this configuration
 It can be manually installed from source https://github.com/stereolabs/zed-python-api

There is a pip list of all my installed packages:

Package         Version
--------------- --------
cycler          0.11.0
Cython          0.29.32
fonttools       4.28.5
kiwisolver      1.3.2
matplotlib      3.5.1
numpy           1.22.0
opencv-python   4.6.0.66
packaging       21.3
Pillow          9.0.0
pip             22.3.1
pygame          2.1.2
PyOpenGL        3.1.6
pyparsing       3.0.6
python-dateutil 2.8.2
scipy           1.7.3
setuptools      65.6.3
six             1.16.0
wheel           0.38.4

I am kinda getting frustrated what am I doing wrong. I am using ZED2i, CUDA 10.2, while running ZED Diagnostic, all seems fine (SDK and CUDA were found). I also tried put the URL (https://download.stereolabs.com/zedsdk/3.8/whl/win/pyzed-3.8-cp310-cp310-win_amd64.whl) into browser to download the .whl file manually but I got “Access Denied”.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Code>AccessDenied</Code>
<BucketName>stereolabs</BucketName>
<RequestId>tx0000000000001643999d8-0063930054-42d93a25-sfo2a</RequestId>
<HostId>42d93a25-sfo2a-sfo</HostId>
</Error>

Do you have any tips what else should I try?

Thank you

Tomas

Hello, really sorry for your troubles.
We had a bug on the python retrieval API on windows on SDK version 3.8.0 and 3.8.1. Are you running one of these versions ? If so, upgrade to 3.8.2.

There is also an easy fix if you don’t want to upgrade : change the URL

https://download.stereolabs.com/zedsdk/3.8/whl/win/pyzed-3.8-cp310-cp310-win_amd64.whl

to

https://download.stereolabs.com/zedsdk/3.8/whl/win_amd64/pyzed-3.8-cp310-cp310-win_amd64.whl

(an _amd64 is missing).
This was totally our fault, sorry again.

Antoine

1 Like

For Python 3.11 there is always the possibility to rebuild the wrapper yourself : GitHub - stereolabs/zed-python-api: Python API for the ZED SDK

We’ll work on supporting python 3.11 from the installer directly.

Antoine