본문 바로가기
파이썬

파이썬 Mac OS X에 Python 개발 헤더를 설치하는 방법은 무엇입니까?

by º기록 2021. 1. 21.
반응형


이것들은 내 시스템에서 분명히 누락되었습니다. 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 패키지가 있습니까?

 

해결 방법

 

찾고있는 헤더는 다음과 같습니다.

Cellar/python3/3.3.0//Frameworks/Python.framework/Versions/3.3/include/python3.3m/

 

참조 페이지 https://stackoverflow.com/questions/15931331

 

 

반응형

댓글