【发布时间】:2013-04-10 16:24:55
【问题描述】:
对于使用 Boost.Python 的项目(请参阅 this other question),我需要包含例如的 Python 开发标头。 pyconfig.h。
这些显然从我的系统中丢失。我已经通过 Homebrew 安装了 Python 3:
cls ~ $ brew info python3
python3: stable 3.3.0
http://www.python.org/
Depends on: pkg-config, readline, sqlite, gdbm
/usr/local/Cellar/python3/3.2.3 (4420 files, 78M)
/usr/local/Cellar/python3/3.3.0 (4843 files, 93M) *
https://github.com/mxcl/homebrew/commits/master/Library/Formula/python3.rb
我也希望通过 Homebrew 获取标头,但我找不到它们的包。
cls ~ $ brew search python-dev
No formula found for "python-dev". Searching open pull requests...
我有哪些安装这些标头的选项?有 Homebrew 包吗?
【问题讨论】:
标签: python macos header homebrew