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

后端 未结 3 1628
你的背包
你的背包 2020-12-31 16:32

I have tried countless solutions at this point and nothing seems to work. I\'m trying to install mysql-python, but this happens with numpy and other packages requiring gcc a

相关标签:
3条回答
  • 2020-12-31 17:07

    This worked for me

    xcode-select --install
    
    0 讨论(0)
  • 2020-12-31 17:13

    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!

    0 讨论(0)
  • 2020-12-31 17:16

    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

    0 讨论(0)
提交回复
热议问题