美文网首页
Mac 系统 Cairo R包安装错误

Mac 系统 Cairo R包安装错误

作者: BioGou | 来源:发表于2021-12-29 09:55 被阅读0次

    错误提示如下:

    configure: error: Cannot use cairo-ft backend, although cairo claims it is working. Please check your caito installation and/or update cairo if necessary or set CAIRO_CFLAGS/CAIRO_LIBS accordingly.
    ERROR: configuration failed for package ‘Cairo’
    * removing ‘/usr/local/lib/R/4.0/site-library/Cairo’
    

    这是因为系统没有安装Cairo,在终端中执行下边两个命令:

    brew install Cairo
    brew install pkg-config
    

    然后再回到R中安装Cairo即可成功。

    相关文章

      网友评论

          本文标题:Mac 系统 Cairo R包安装错误

          本文链接:https://www.haomeiwen.com/subject/imabvktx.html