32

Boost.Python を使用するプロジェクトの場合 (この他の質問を参照)、eg を含む 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 パッケージはありますか?

4

2 に答える 2

8

これらはあなたが探しているヘッダーですか:

Cellar/python3/3.3.0//Frameworks/Python.framework/Versions/3.3/include/python3.3m/
于 2013-04-10T16:35:43.397 に答える