问题
hey guys I have pip and homebrew I have tried
pip search python3.4-dev and also brew search python and can't find python3.4-dev in any of them any ideas?
回答1:
OS X does not have this package available. However, the package list can be found on the Debian site here. These packages come with py3.5 by default. Just try:
brew install python3
回答2:
Pip won't install Python itself. pyenv can help you install any specific Python version you want. Look here:
https://github.com/yyuu/pyenv#installation
Then after installation, you run
pyenv install 3.4-dev
来源:https://stackoverflow.com/questions/41743825/how-to-install-python3-4-dev-for-mac