Import Error pylon not a module of pypylon
See original GitHub issueHello, I am trying to install pypylon on the NVIDIA XAVIER NX . It is an aarch64 system. I am using Python 3.6.9 in a virtual environment and I have successfully installed pypylon-1.5.4-cp36-cp36m-linux_aarch64.whl
I can import pyplon, but the module pylon does not exist. Can someone help me sort this out?
from pypylon import pylon
yields:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xaviernx1/projects/fishrecordingarm/venv/lib/python3.6/site-packages/pypylon/pylon.py", line 40, in <module> from . import _pylon ImportError: cannot import name '_pylon'
NOTE: import pypylon
does not fail
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
ImportError: cannot import name '_pylon' from 'pypylon' #260
I've installed pylon_6.1.3.20159-deb0_arm64.deb on jetson tx1 and after that installed pypylon-1.5.4-cp35-cp35m-linux_aarch64.whl but when I ...
Read more >Imaginghub Forum - Pypylon No module detected
i) downloading pylon I've downloaded the Debian version. ... I run the python script 'Import pypylon' in all cases above I get a...
Read more >Make exe file of python pypylon project using pyinstaller spec ...
I'd advise against the way you imported pypylon in your example, refering to a package simply as "py" will be confusing for other...
Read more >pypylon · PyPI
The official python wrapper for the Basler pylon Camera Software Suite. Background information about usage of pypylon, programming samples and jupyter ...
Read more >Getting started with Basler Camera With Opencv on Python
from pypylon import pylon from pypylon import genicam import sys ... GenericException as e: # Error handling. print("An exception occurred.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sudo apt-get install swig
Same issue when I try to test import pylon or genicam I’m using Jetson Xavier NX and Code-OSS environment I’ve succesfully installed pypylon-1.5.4-cp36-cp36m-linux_aarch64.whl and I’ve install and run pylon_6.1.3.20159-deb0_arm64.deb
python3 -c "import pypylon.pylon"
Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/tomaspuda/.local/lib/python3.6/site-packages/pypylon/pylon.py", line 40, in <module> from . import _pylon ImportError: cannot import name '_pylon'
python3 -c "import pypylon.genicam"
Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/tomaspuda/.local/lib/python3.6/site-packages/pypylon/genicam.py", line 40, in <module> from . import _genicam ImportError: cannot import name '_genicam'