Sep-12-2018, 03:54 PM
Hi, I'm trying to get rtlsdr(GitHub), but I keep getting this error:
also if there is an alternative you recommend that works on a raspberry pi as well as windows I'd have no problems switching, all I need is to be able to select center frequency and a band for the sdr and integrate with is received.
Error:Traceback (most recent call last):
File "C:\...\sdr.py", line 2, in <module>
from rtlsdr import *
File "C:\...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rtlsdr\__init__.py", line 56, in <module>
from .librtlsdr import librtlsdr
File "C:\...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rtlsdr\librtlsdr.py", line 50, in <module>
librtlsdr = load_librtlsdr()
File "C:\...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rtlsdr\librtlsdr.py", line 45, in load_librtlsdr
raise ImportError('Error loading librtlsdr. Make sure librtlsdr '\
ImportError: Error loading librtlsdr. Make sure librtlsdr (and all of its dependencies) are in your path
I've tried to add librtlsdr(GitHub) dependencies two ways, for both I created a folder called PYSDR with everything from librtlsdr. first I tried adding the PYSDR to PYTHONPATH (variable I didn't have before). the other way I tried was by adding:import sys sys.path.append('C:/.../Documents/Python/Libs_NEVER_DEL/PYSDR )but both attempts gave me the same error as before. How can I get around this problem?
also if there is an alternative you recommend that works on a raspberry pi as well as windows I'd have no problems switching, all I need is to be able to select center frequency and a band for the sdr and integrate with is received.