randaller / cnn-rtlsdr

Deep learning signal classification using rtl-sdr dongle
318 stars 78 forks source link

from rtlsdr import RtlSdr error ModuleNotFoundError: No module named 'rtlsdr' #21

Open wuqingle opened 4 years ago

wuqingle commented 4 years ago

windows 10 cpu tensorflow1.15 python3.6

Last step is to copy 2 files from x64!!! osmocom rtl-sdr drivers: https://osmocom.org/attachments/download/2242/RelWithDebInfo.zip Copy these [rtl-sdr-release/x64/]: rtlsdr.dll & libusb-1.0.dll into C:\Windows folder. Reboot your system. Now open your anaconda prompt again, change folder to C:\rtlsdr and run: python predict_scan.py

error ModuleNotFoundError: No module named 'rtlsdr' !!!!!

C:\Windows set in PATH ,the same error !!!1

szy96 commented 4 years ago

Have you solve the problem? I also meet the same one.

eyuxiansheng commented 4 years ago

Can you leave a contact information to exchange questions?I am also interested in this project and hope to study with you

lucasmellon commented 3 years ago

Install the pyrtlsdr module. You can do this in your virtual environment by "pip install pyrtlsdr". Or you can add pyrtlsdr in the requirements.txt. In the python scrip you may have to define what port your device is in. You can also just copy and past this device_index = RtlSdr.get_device_index_by_serial('00000001') sdr = RtlSdr(device_index) "000....1" should be the default device serial number