Can't install get_python_api.py

Hi there I’m just a beginner for ZED, I followed setup tutorial step by step in official website and when I install the python api, I can’t install the file “get_python_api.py” from ZED SDK, so what’s worry…

Hi,
This is surprising as the file exists and can be downloaded (I just check by directly accessing the link https://download.stereolabs.com/zedsdk/3.5/win/cu111/py37).

Can you access it from a browser ? it should download the python whl file.
If you still have an error it may be due to either an internet connection issue or SSL problem (wrong date or time that cause invalid certificate) or our cache server have some issues.
Just in case the direct link is https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/3.5/whl/cu111/win/pyzed-3.5-cp37-cp37m-win_amd64.whl

1 Like

sorry to interrupt you,but i think i meet with the similar problem,the link i can see is “https://download.stereolabs.com/zedsdk/3.6/jetsons/jp4/py36”,for the platform i use is
"
Detected platform:
jetsons
Python 3.6
ZED SDK 3.6

"
i can’t access the link ,i wonder if there is something wrong with my net.actually i can’t get link1 you write in the answer,but i can get link2 , so could you please just show me the direct link due the platform i use.
Thanks a lot

Hi @meihui,

Here is the direct link : https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/3.6/whl/jp4/pyzed-3.6-cp36-cp36m-linux_aarch64.whl
Can you try it out and see if it works better ?

Hi,

Both the links you mentioned are not working currently. When I put it in the browser it returns a 404 not found error.

Is there an updated working link for SDK 3.6? I am having trouble getting the right link for the .whl file. My get_python_api script is giving me a link that does not work.

I am running on Windows 10, but also have a machine with Ubuntu 20 and the link generated through there also did not work.

Hi,

this links is also not working. Get an 404 error.
https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/3.8/whl/win/pyzed-3.8-cp310-cp310-win_amd64.whl

Hello, there is an issue with your link. It’s actually [https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/3.8/whl/win_amd64/pyzed-3.8-cp310-cp310-win_amd64.whl](https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/3.8/whl/win_amd64/pyzed-3.8-cp310-cp310-win_amd64.whl).
Did get_python_api.py generate that ?

Ah ok. Yes this link is generated by the get_python_api.py…

1 Like

I have made the following changes in get_python_api.py. Now it works.

  • change base_URL to https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/
  • whl-file_url is still the old one (https://download.stereolabs.com/py/)
  • change OS_Version (add _amd64)

1 Like

grafik

1 Like

Thanks @Dan! That worked for me (same issue).

Hi !
I’m glad you could find a workaround. Just a few tips if someone reads this later.

The base_URL did not change. download.stereolabs.com redirects to stereolabs.sfo2.digitaloceanspaces.com, so that if we change our online space provider it does not impact you.

For example, https://download.stereolabs.com/zedsdk/3.8/win/py310 redirects to https://stereolabs.sfo2.digitaloceanspaces.com/zedsdk/3.8/whl/win_amd64/pyzed-3.8-cp310-cp310-win_amd64.whl

Thus you do not need to add _amd64 to your script.

However, you should always use the get_python_api.py script that is fitting your SDK version. I think that is the issue here, you used an old version of the script.