Where is the python library installed?

Posted fisherinbox

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Where is the python library installed?相关的知识,希望对你有一定的参考价值。

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

以上是关于Where is the python library installed?的主要内容,如果未能解决你的问题,请参考以下文章

Where is the Marble?

10474 - Where is the Marble?(模拟)

UVA - 10474 Where is the Marble?(排序)

UVA10474 Where is the Marble?排序

where is the name of Teddy come from?

Where is the Marble?(sort+lower_bound使用)