码迷,mamicode.com
首页 > 编程语言 > 详细

Where is the python library installed?

时间:2016-03-11 12:07:06      阅读:800      评论:0      收藏:0      [点我收藏+]

标签:

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?

标签:

原文地址:http://www.cnblogs.com/fisherinbox/p/5264925.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!