[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GnuRadio 3.10 OOT python modules not found - destination path error '/us
From: |
Criss Swaim |
Subject: |
GnuRadio 3.10 OOT python modules not found - destination path error '/usr/local/local/lib64' |
Date: |
Tue, 31 May 2022 12:39:48 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
Upgraded to GnuRadio 3.10 from 3.9 and gnuradio-companion aborts with a
module not found trying to import my OOT python blocks. The modules are
being placed in /usr/local/local/lib64/python3.10/site-packages - note
the local/local. the destination should be
/usr/local/lib64/python3.10/site-packages.
The fix is after running the cmake ../ command in the build directory,
edit build/python/cmake_install.cmake and
build/python/bindings/cmake_install.cmake and change
file(INSTALL DESTINATION
"$(CMAKE_INSTALL_PREFIX)/local/lib64/python3.10/site-packages.....
to
file(INSTALL DESTINATION
"$(CMAKE_INSTALL_PREFIX)/lib64/python3.10/site-packages..... (remove /local)
there are 2 changes in build/python/cmake_install.cmake and 8 changes in
build/python/bindings/cmake_install.cmake
Make these changes before running the make/sudo make install.
I am unable to determine if this is a problem in the gr_modtool or in
the GR_PYTHON_DIR constant or in some setting in my custom OOT project.
My environment is Fedora 36, Gnuradio 3.10 and Python 3.10.
--
Criss Swaim
cswaim@tpginc.net
cell: 505.301.5701
- GnuRadio 3.10 OOT python modules not found - destination path error '/usr/local/local/lib64',
Criss Swaim <=