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
import dvbgse error #3
Comments
You have to install into the same directory you've installed GNU Radio. You can find that with For example, if you installed with apt, then the prefix will be If you installed from a GNU Radio PPA, then |
Hello Ron, seems there is a path problem, the install put dvbgse and dvbs2rx in /usr/local/lib/python3/dist-packages/, but pythonpath does not contain this path, it contains /usr/local/lib/python3.8/dist-packages/, so i moved the two packages in this latter directory, and i don't get import not found any more. But when i launch your graph (either dvbgse or dvbsrx) i get an error : import dvbgse same for dvbsrx : import dvbs2rx i tried to update pybind11-dev (as i have read on a forum) and rebuild but no success.... Thanks for help |
Make sure your GNU Radio install is in /usr/local as I outlined above. I believe it would have been better to just add to your export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages The Python path thing is pretty messy. There's a patch pending to straighten it out, but I'm not sure that everyone agrees on it yet. |
OK, so to get clear i removed gnuradio with import dvbs2rx idem for dvbgse module really difficult.... |
You have to delete what's in You may want to clean out all GNU Radio related files in |
Ok on, sorry to bother you, i have deleted the content of all dir in /user/local/lib |
What is the exact error you're getting now? If you deleted |
Ok Ron : here is what i get in the gnu console when i start the graph : Generating: '/home/yves/gr-dvbs2rx/apps/dvbs2_rx.py' Executing: /usr/bin/python3 -u /home/yves/gr-dvbs2rx/apps/dvbs2_rx.py Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last):
|
Looks to be a pybind11 issue. See https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg73247.html |
i have seen that post before, i have already done the apt update pybind-dev, and i have now the v2.4.3 on my system : Lecture des listes de paquets... Fait I did the build of your modules with that version. Is it the right one ? Regards |
I think you really need pybind11 v2.5.0. I don't see how It seems you'll have to build pybind11 from source. sudo apt-get purge pybind11-dev git clone https://github.com/pybind/pybind11.git cd pybind11 git checkout v2.5.0 -b tmp mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF ../ make sudo make install sudo ldconfig |
Ok thanks Ron, I will try that. So after I have to rebuild your modules ? Should I delete the old ones or something else ? |
You should clean the build directory of the projects before rebuilding them. For example: cd gr-dvbgse/build rm -rf * Make sure you're in the correct directory before issuing You shouldn't have to worry about anything in /usr/lib. The new build will update those files. |
Done, much better now :-) no more import errors ! now i need to understand how it works....Perhaps some further questions ! |
Hy, when i try to test the new blocks from dvb-gse i get : ModuleNotFoundError: No module named 'dvbgse'
any advices?
i have installed all things as you wrote.
Regards
The text was updated successfully, but these errors were encountered: