以下在Mac上使用终端安装lightgbm的代码会出现以下错误。
R CMD INSTALL --build . --no-multiarch
错误:
mac_computer:lightgbm_r user1$ R CMD INSTALL --build . --no-multiarch
* installing to library ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library’
* installing *source* package ‘lightgbm’ ...
Warnung in as.POSIXlt.POSIXct(x, tz)
unknown timezone 'zone/tz/2018i.1.0/zoneinfo/Europe/Berlin'
** libs
installing via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/3.4/Resources/library/lightgbm
Fehler in eval(ei, envir) : Cannot find lib_lightgbm.so
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/lightgbm’
有人知道如何解决吗?