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
时间: 2024-07-30 20:09:40

Where is the python library installed?的相关文章

Theano is a Python library: A CPU and GPU math expression compiler

Welcome¶ Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. Theano features: tight integration with NumPy – Use numpy.ndarray in Theano-compiled functi

kivy.org - Open source Python library for rapid development of applications

kivy.org - Open source Python library for rapid development of applicationsthat make use of innovative user interfaces, such as multi-touch apps. ????. 原文地址:https://www.cnblogs.com/edisp/p/10358625.html

Python library note-collection

Reference: https://docs.python.org/2/library/collections.html namedtuple() factory function for creating tuple subclasses with named fields deque list-like container with fast appends and pops on either end Counter dict subclass for counting hashable

Scipy - Python library - Math tool - Begin

Introduction Scientific Computing Tools for Python. Seen in Scipy.org. Environment Linux, CentOS 7 with KDE, python 2.7 Installation 1 python -m pip install --upgrade pip 2 # Do not use sudo for the next command 3 pip install --user numpy scipy matpl

Python3.8.1标准库参考中文手册(The Python Library Reference) 高清pdf版【20MB】下载

reference-index 描述了 Python 语言的具体语法和语义,这份库参考则介绍了与 Python 一同发行的标准库.它还描述了通常包含在 Python 发行版中的一些可选组件. Python 标准库非常庞大,所提供的组件涉及范围十分广泛,正如以下内容目录所显示的.这个库包含了多个内置模块 (以 C 编写),Python 程序员必须依靠它们来实现系统级功能,例如文件 I/O,此外还有大量以 Python 编写的模块,提供了日常编程中许多问题的标准解决方案.其中有些模块经过专门设计,通

安装 Python Image Library (Pillow)

作者:kkninjae 出处:http://www.cnblogs.com/kkninjae 转载请注明出处,谢谢. 最近读到一篇图像灰度算法的文章,打算用 Python 实现一下文章中提到的算法. 于是找了一下 Python 处理图片类多媒体文件的库,发现 Python 自带的库 imageop 在 Python3 里面被废弃了,果断扔(虽然我用的 Python2 :)). 随后发现了 Python Image Library,API 还成,够直白简单.但是这个库很久没更新了,果断扔.还好找到

使用gdb调试Python进程

http://www.cnblogs.com/dkblog/category/287362.html https://wiki.python.org/moin/DebuggingWithGdb There are types of bugs that are difficult to debug from within Python: segfaults (not uncaught Python exceptions) hung processes (in cases where you can

修改Python版本(for Mac OS X)

Mac OS X 10.8及以后的版本都预装了Python 2.7,但是在Mac上(Unix-like OS)上修改Python的版本并不如Windows方便.这篇文章的目标是要将Mac自带的Python 2.7升级为3.4. 正文部分: 下载并安装新版Python https://www.python.org/ 将新版Python复制到系统目录下并修改文件的owner sudo mv /Library/Frameworks/Python.framework/Versions/3.4/ /Sys

使用神经网络来识别手写数字【译(三)- 用Python代码实现

实现我们分类数字的网络 好,让我们使用随机梯度下降和 MNIST训练数据来写一个程序来学习怎样失败手写数字. 我们也难怪Python (2.7) 来实现.只有 74 行代码!我们需要的第一个东西是 MNIST数据.如果有 github 账号,你可以将这些代码库克隆下来, git clone https://github.com/mnielsen/neural-networks-and-deep-learning.git 或者你可以到这里 下载. Incidentally, 当我先前说到 MNIS