Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imported library not executing #619

Closed
TeddySw opened this issue Dec 9, 2024 · 2 comments
Closed

Imported library not executing #619

TeddySw opened this issue Dec 9, 2024 · 2 comments
Assignees

Comments

@TeddySw
Copy link

TeddySw commented Dec 9, 2024

I'm attempting to import the library using python 3.13.0 but I'm getting the following error:

Traceback (most recent call last):
File "C:...\Pluto\Radio_Pulse_Gen.py", line 1, in
import adi
File "C:...\Lib\site-packages\adi_init_.py", line 5, in
from adi.ad2s1210 import ad2s1210
File "C:...\Lib\site-packages\adi\ad2s1210.py", line 6, in
from adi.context_manager import context_manager
File "C:...\Lib\site-packages\adi\context_manager.py", line 5, in
import iio
File "C:...\Lib\site-packages\iio.py", line 227, in
_lib = _cdll(find_library(iiolib), use_errno=True, use_last_error=True)
File "C:...\Lib\ctypes_init
.py", line 380, in init
if '/' in name or '\' in name:
^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Any idea what I may be doing wrong?

@tfcollins
Copy link
Collaborator

Did you install the C library for libiio? https://analogdevicesinc.github.io/pyadi-iio/guides/quick.html

@tfcollins tfcollins self-assigned this Dec 9, 2024
@tfcollins
Copy link
Collaborator

No response for a few weeks. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants