stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
213 stars 94 forks source link

Python API for 3.7.4 on Jetpack 5.0 #215

Closed bblumberg closed 2 years ago

bblumberg commented 2 years ago

Preliminary Checks

Description

I am unable to install the Python API for 3.7.4 on a AGX Orin running Jetpack 5.0. When I run get_python_api.py, I get: Unsupported l4t/jetpack version

Is there something I can do on my end to work around this problem?

Thanks,

bb

Steps to Reproduce

  1. cd /usr/local/zed 2 python3 get_python_api.py
  2. ...

Expected Result

Python wrapper gets installed.

Actual Result

Unsupported l4t/jetpack version

ZED Camera model

ZED2

Environment

ZED 3.7.4
AGX Orin
JetPack 5.0.1

Anything else?

I'd love to be able to use the camera on the Orin.

alassagne-sl commented 2 years ago

Hello and thank you for reaching us out. There maybe an issue on our side, since we do support your configuration. Can you send us the full log ? In the meantime, if you are in a hurry, I can give you a direct link to the whl file. The full log will give me the python version that you need.

Antoine

bblumberg commented 2 years ago

Ok, it is a little logical bug in the get_python_api.py script: Lines 231-233 should be removed or commented out, e.g.:

else:

        #    print('Unsupported l4t/jetpack version')
        #    sys.exit(1)

On Fri, Jun 3, 2022 at 7:50 AM bruce blumberg @.***> wrote:

Thanks for the quick response. It would be great if you could send me a direct link:

Here is the log from the terminal (is there a more complete log somewhere?)

python3 get_python_api.py -> Downloading to '/usr/local/zed' Unsupported l4t/jetpack version

Here is my python Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] on linux

Thanks again,

bb

On Fri, Jun 3, 2022 at 3:29 AM alassagne-sl @.***> wrote:

Hello and thank you for reaching us out. There maybe an issue on our side, since we do support your configuration. Can you send us the full log ? In the meantime, if you are in a hurry, I can give you a direct link to the whl file. The full log will give me the python version that you need.

Antoine

— Reply to this email directly, view it on GitHub https://github.com/stereolabs/zed-python-api/issues/215#issuecomment-1145674338, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWPS2SJZX2BUXIXLRWFDX3VNGX6FANCNFSM5XW3H7PQ . You are receiving this because you authored the thread.Message ID: @.***>

bobedwards123 commented 2 years ago

Can you please post the whl file I have the same issue, am unable to install the python API on this version of jetpack. Thanks

bblumberg commented 2 years ago

I am away from my computer but it’s an easy fix. Go to the getpythonapi.py file in /usr/local/zed and comment out the lines in question.

bb

On Sat, Jun 4, 2022 at 12:43 AM bobedwards123 @.***> wrote:

Can you please post the whl file I have the same issue, am unable to install the python API on this version of jetpack. Thanks

— Reply to this email directly, view it on GitHub https://github.com/stereolabs/zed-python-api/issues/215#issuecomment-1146531958, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWPS2XBHI76IQ2Z564TEDLVNLNH5ANCNFSM5XW3H7PQ . You are receiving this because you authored the thread.Message ID: @.***>

alassagne-sl commented 2 years ago

Indeed, it's even easier to comment the lines 231 to 233 and run the script again. It will be fixed in the next version.

ardasevinc commented 2 years ago

This issue should not be closed as it's not fixed. I just faced this issue in my Jetpack 5.0.1, ZED 3.7.4 install. If the issue remains open, others who face this issue can solve it faster before the next version comes out. Thanks.

bblumberg commented 2 years ago

Thanks for the quick response. It would be great if you could send me a direct link:

Here is the log from the terminal (is there a more complete log somewhere?)

python3 get_python_api.py -> Downloading to '/usr/local/zed' Unsupported l4t/jetpack version

Here is my python Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] on linux

Thanks again,

bb

On Fri, Jun 3, 2022 at 3:29 AM alassagne-sl @.***> wrote:

Hello and thank you for reaching us out. There maybe an issue on our side, since we do support your configuration. Can you send us the full log ? In the meantime, if you are in a hurry, I can give you a direct link to the whl file. The full log will give me the python version that you need.

Antoine

— Reply to this email directly, view it on GitHub https://github.com/stereolabs/zed-python-api/issues/215#issuecomment-1145674338, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWPS2SJZX2BUXIXLRWFDX3VNGX6FANCNFSM5XW3H7PQ . You are receiving this because you authored the thread.Message ID: @.***>

alassagne-sl commented 2 years ago

The Unsupported l4t/jetpack version error is actually an legitimate one. @ardasevinc Jetpack 5.0.2 is not supported until 3.7.7 @bblumberg You should also try with 3.7.7. If it does not work, what is your Ubuntu version ? we support 18.04, 20.04, 22.04.