Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Zhongyuan Zhao via USRP-users
I updated Ubuntu 14.04 LTS to 16.04 LTS, then the cmake passed with python-api enabled. 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

Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Ron Economos via USRP-users
This is just a guess, but you may want to try: sudo apt-get install python-dev Ron On 01/24/2018 10:17 AM, Zhongyuan Zhao via USRP-users wrote: Python2.7-dev is already installed, here is the full cmake print == ➜ build cmake .. -- -- Configuring the python interpreter... -- Python

Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Brent Stapleton via USRP-users
Hi Zhongyuan, CMake couldn't determine the Git hash. Not sure why that is; it should say something like "Working off of feature or development branch. Updating version number." Is there a .git/ directory in your UHD source directory? It looks like the CMake module FindPythonLibs [1] can't find

Re: [USRP-users] Help on UHD Python API installation

2018-01-24 Thread Zhongyuan Zhao via USRP-users
Python2.7-dev is already installed, here is the full cmake print == ➜ build cmake .. -- -- Configuring the python interpreter... -- Python interpreter: /usr/bin/python -- Override with: -DPYTHON_EXECUTABLE= fatal: Not a git repository (or any of the parent directories): .git -- Could not

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Martin Braun via USRP-users
On Tue, Jan 23, 2018 at 04:36:13PM +, Zhongyuan Zhao wrote: >Hi,  >The CMAKE shows that Python API is disabled, >I was unable to enable it. It shows  >Dependency PythonLibs_FOUND = >Is there anything missing?  You need Python development libraries, e.g., python2.7-dev

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Zhongyuan Zhao via USRP-users
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,

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Zhongyuan Zhao via USRP-users
Hi, The CMAKE shows that Python API is disabled, I was unable to enable it. It shows Dependency PythonLibs_FOUND = Is there anything missing? Zhongyuan Zhao PhD Candidate, Department of Computer Science & Engineering, University of Nebraska-Lincoln Office Hour: WF 9:30-10:00am, Avery Hall 12,

Re: [USRP-users] Help on UHD Python API installation

2018-01-22 Thread Martin Braun via USRP-users
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