-
Notifications
You must be signed in to change notification settings - Fork 41
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
installation error through pybombs #26
Comments
Hi, I do not use pybombs. However I received a similiar problem and think your problem is related the file python/app/CMakeLists.txt. When it runs grcc the PYTHONPATH is overriden. I expect that pybombs has a previous PYTHONPATH defined which is not taken in account there. Best regards, |
Hi Viktorivan, Regarding my previous suspicion, you could verify and change in python/app/CMakeLists.txt from COMMAND bash -c "PYTHONPATH=${CMAKE_BINARY_DIR}/python/app GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc/ grcc ${CMAKE_SOURCE_DIR}/python/app/adjustment_gui.grc -o ${CMAKE_BINARY_DIR}/python/app/" to COMMAND bash -c "PYTHONPATH=$ENV{PYTHONPATH}:${CMAKE_BINARY_DIR}/python/app GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc/ grcc ${CMAKE_SOURCE_DIR}/python/app/adjustment_gui.grc -o ${CMAKE_BINARY_DIR}/python/app/" Please note, that after the change you need to start clean with a cmake generation. You need to delete your previous generated cmake output (e.g. if you used a "build" directory, remove it and create it new) and execute cmake again. Just executing make will not pull in your changes from CMakeLists.txt Please provide feedback here if it helped on your side. Best regards,
|
Hi Mario Its works for me!!! I installed gr-dab from Pybombs withuot problems with that modification. Best regards Ivan |
Hello, I also have gr-dab with the command What do I have to do specifically after I Running again |
Hi, actually pybombs is deprecated and it is not supported by gnuradio 3.9
and later
El vie, 10 jun 2022 a las 13:18, VDelport ***@***.***>)
escribió:
… Hello,
I also have gr-dab with the command
pybombs install gr-dab
installed and get the same error.
What do I have to do specifically after I
python/app/CMakeList.txt
change as above?
Running again
pybombs install gr-dab
leads to the same error.
—
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVZUIEXYW5YOO7RGNRJC43VOOBHLANCNFSM4VNY4PWQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, I'm installing gr-dab with the command pybombs install gr-dab and I get the following error
[ 95%] Generating adjustment_gui.py
ModuleNotFoundError
Cannot import gnuradio.
Is the model path environment variable set correctly?
All OS: PYTHONPATH
Is the library path environment variable set correctly?
Linux: LD_LIBRARY_PATH
Windows: PATH
MacOSX: DYLD_LIBRARY_PATH
(No module named 'gnuradio')
make[2]: *** [python/app/CMakeFiles/pygen_python_app_c8039.dir/build.make:142: python/app/adjustment_gui.py] Error 1
make[1]: *** [CMakeFiles/Makefile2:538: python/app/CMakeFiles/pygen_python_app_c8039.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[ERROR] Build failed. See output above for error messages.
[ERROR] Problem occurred while building package gr-dab:
Build failed.
[ERROR] Error installing package gr-dab. Aborting.
Regards
The text was updated successfully, but these errors were encountered: