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

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

Open
wuqingle opened this issue May 29, 2020 · 3 comments

Comments

@wuqingle
Copy link

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
Copy link

szy96 commented Jul 2, 2020

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

@eyuxiansheng
Copy link

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

@lucasmellon
Copy link

lucasmellon commented Sep 12, 2021

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

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

4 participants