CMAKE list Python API as disabled, Moreover, Dependency PythonLibs_FOUND = Disabling LibUHD - Python API support.
Zhongyuan Zhao PhD Candidate, Department of Computer Science & Engineering, University of Nebraska-Lincoln Office Hour: WF 9:30-10:00am, Avery Hall 12, Suite 117, Schorr Center, Lincoln, Nebraska 68588-0115 On Tue, Jan 23, 2018 at 12:47 AM, Martin Braun via USRP-users < usrp-users@lists.ettus.com> wrote: > Zhao, > > you need to first install Boost, then UHD. When you run CMake on UHD, > does it list the Python API as an enabled component? > > -- M > > On 01/22/2018 02:43 PM, Zhongyuan Zhao via USRP-users wrote: > > Could anyone provide a complete guidance of installation of UHD Python > > API on Ubuntu? > > > > I cloned the python api repo, and followed this installation of UHD from > > source > > <https://kb.ettus.com/Building_and_Installing_the_ > USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux> > > > > Then I installed Boost.Python followed here > > <http://www.boost.org/doc/libs/1_66_0/more/getting_started/>, with these > > commands > > > > |cd path/to/boost_1_66_0 ./bootstrap.sh --help ./bootstrap.sh > > --prefix=/usr/local/lib/boost --with-libraries=python | > > > > However, when I run 'import uhd' in python, it says 'no module named > > uhd'. The OS is Ubuntu running on a Mac Mini. > > > > 1. The source is python-api branch, > > > > 2. Build and installed successfully > > > > 3. PYTHONPATH: I use cmake ../ to installed on default directory > > (/usr/local/), and I put '/usr/local/bin/' to PYTHONPATH in .bashrc file > > > > > > Thank you! > > > > Zhao > > > > > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com