尝试从源代码编译时出现 Python 错误

尝试从源代码编译时出现 Python 错误

我正在尝试从源 AWN 进行编译https://launchpad.net/awn/在 Xubuntu 16.04 上,但是当我运行 ./configure 时,我得到:

configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

我运行了,sudo apt-get install python-dev但是它说已经是最新版本了。我该怎么办?

相关内容