basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
556 stars 207 forks source link

Cannot import pypylon modules on jetson xavier #522

Open Zillibub opened 2 years ago

Zillibub commented 2 years ago

Hello,

Pylon version: 7.1.0

I build module with the following command: pip install git+https://github.com/basler/pypylon.git in venv

But when I try to import module, it returns the following error:

from pypylon import pylon
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/inference-env/lib/python3.8/site-packages/pypylon/pylon.py", line 40, in <module>
    from . import _pylon
ImportError: libpylonbase.so.7.1: cannot open shared object file: No such file or directory
thiesmoeller commented 2 years ago

As a quick workaround install latest pylon 6.x version. 7.1 support hasn't been integrated yet

Zillibub commented 2 years ago

Worked like a charm, thanks!

tonynajjar commented 11 months ago

Any update if pypylon supports Pylon versions >7.*?