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

ImportError: DLL load failed while importing sdrplay3_python: The specified procedure could not be found. #116

Open
fventuri opened this issue Nov 29, 2024 · 0 comments

Comments

@fventuri
Copy link

Ryan, a couple of days ago I rebuilt the conda package for the GNU Radio OOT module gr-sdrplay3 I wrote.
I followed the instructions from here: https://github.com/fventuri/gr-sdrplay3/blob/main/WINDOWS.md

I am able to install the conda package without any errors, however when I try to import the Python module gnuradio.sdrplay3, the DLL fails loading with this error message:

(base) C:\Users\franco\radioconda\envs\build\conda-bld\win-64>python -c "from gnuradio import sdrplay3"

Traceback (most recent call last):
  File "C:\Users\franco\radioconda\Lib\site-packages\gnuradio\sdrplay3\__init__.py", line 26, in <module>
    from .sdrplay3_python import *
ImportError: DLL load failed while importing sdrplay3_python: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\franco\radioconda\Lib\site-packages\gnuradio\sdrplay3\__init__.py", line 30, in <module>
    from .sdrplay3_python import *
ImportError: DLL load failed while importing sdrplay3_python: The specified procedure could not be found.

I also ran a quick test uninstalling the conda package gnuradio-sdrplay3 I just built, and reinstalling the gnuradio-sdrplay3 I built back in July : https://github.com/fventuri/gr-sdrplay3/releases/tag/v3.11.0.7 and with that one I am able to import gnuradio.sdrplay3 without any errors.

I am using the same conda recipe that I used back in July, so I am little puzzled about this error.
I do see someone else had a similar problem a while ago: #78 but in my case the gnuradio-sdrplay3 package doesn't use Qt at all.

Thanks,
Franco

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

1 participant