首页 > 编程语言 > 详细

Where is the python library installed?

时间:2016-03-11 12:05:08      阅读:786      评论: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)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!