Closed. This question is off-topic。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
                        
                        2个月前关闭。
                                                                                            
                
        
错误:

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:85:17: error: expected initializer before '__OSX_AVAILABLE_STARTING'
     int  ffsl(long) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);


完全错误:

https://github.com/dmlc/xgboost/issues/4933

更新到Catalina后,此功能不起作用。在此之前还不错。

最佳答案

打开Xcode,并接受新的用户协议。之所以发生这种情况,是因为下载了新版本的Xcode,并且不接受新协议。

关于python - xgboost安装在Mac上的zsh终端的Mac上失败了,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58347946/

10-13 08:27