pip raises stdio.h not found error on Mac OS X Mavericks (10.9)

眉间皱痕 提交于 2019-11-30 14:08:18

Starting from Mojave xcode-select --install is not enough, you should also install the package that can be found at /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg. Source: https://forums.developer.apple.com/thread/104296

As @wegry mentioned above--

brew install python

confirming with

$ which python
/usr/local/homebrew/bin/python

just made this entirely go away. Successfully installed numpy and mysql-python with pip!

This worked for me

xcode-select --install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!