question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import Error pylon not a module of pypylon

See original GitHub issue

Hello, 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:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
thiesmoellercommented, Aug 18, 2020

sudo apt-get install swig

1reaction
TPU2020commented, Aug 13, 2020

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'

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found