Dear,
I installed GNU radio from build_gnuradio script successful.
Then I tried a simple FM receiver and I got this warning :
UHD Warning:
Could not locate USRP1 firmware. Please run:
“/usr/local/lib/uhd/utils/uhd_images_downloader.py”
Then as it said, I tried to run that .py file and got this :
Traceback (most recent call last):
File “./uhd_images_downloader”, line 26, in
import requests
ImportError: No module named requests
Could you please help me with this ? Im using USRP1.
Before that, I used to install GNU radio from apt-get, I got exactly
problem, then I ran uhd_images_downloader from /usr/lib/utils and it
worked. I also tried this time, it downloaded the images, but when i run
GNU radio the same thing happen.
current UHD master uses the “requests” python library. I think we might
be forgetting to cleanly document and check that requirement; hence,
build-gnuradio doesn’t automatically install that library.
I don’t know which distribution you are using, but if you’re using
fedora, you can “yum install python-requests”.
Sorry for not reply sooner,
I also figure out that python need request library,
Then I install it. and the problem was fixed.
following is way I install requests library:
Don’t worry, that’s something everyone is happy about when noticed.
For future readers:
sudo apt-get install python-requests
should have worked too (and is preferable, usually, because it allows
your distribution to keep the library up-to-date).
Best regards,
Marcus
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.