jupyter安装IRkernel核时的报错整理

在使用下述命令安装时:

install.packages(c('repr', 'IRdisplay', 'IRkernel'), type = 'source')

得到以下错误:

Warning in install.packages(lib = .libPaths()[1L], dependencies = NA, type = type) :
  'lib = "D:/Program Files/R/R-4.1.0/library"' is not writable
Error in install.packages(lib = .libPaths()[1L], dependencies = NA, type = type) : 
  unable to install packages

通过以管理员身份打开软件,即可解决上述问题,但同时出现以下错误:

** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'uuid'
* removing 'D:/Program Files/R/R-4.1.0/library/uuid'
* installing *source* package 'digest' ...
** package 'digest' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'digest'
* removing 'D:/Program Files/R/R-4.1.0/library/digest'
ERROR: dependency 'glue' is not available for package 'cli'
* removing 'D:/Program Files/R/R-4.1.0/library/cli'
ERROR: dependency 'rlang' is not available for package 'ellipsis'
* removing 'D:/Program Files/R/R-4.1.0/library/ellipsis'
ERROR: dependencies 'glue', 'rlang' are not available for package 'lifecycle'
* removing 'D:/Program Files/R/R-4.1.0/library/lifecycle'
ERROR: dependencies 'digest', 'base64enc', 'rlang' are not available for package 'htmltools'
* removing 'D:/Program Files/R/R-4.1.0/library/htmltools'
ERROR: dependencies 'ellipsis', 'glue', 'rlang' are not available for package 'vctrs'
* removing 'D:/Program Files/R/R-4.1.0/library/vctrs'
ERROR: dependencies 'cli', 'ellipsis', 'fansi', 'lifecycle', 'rlang', 'utf8', 'vctrs' are not available for package 'pillar'
* removing 'D:/Program Files/R/R-4.1.0/library/pillar'
ERROR: dependencies 'htmltools', 'jsonlite', 'pillar', 'base64enc' are not available for package 'repr'
* removing 'D:/Program Files/R/R-4.1.0/library/repr'
ERROR: dependency 'repr' is not available for package 'IRdisplay'
* removing 'D:/Program Files/R/R-4.1.0/library/IRdisplay'
ERROR: dependencies 'repr', 'IRdisplay', 'pbdZMQ', 'jsonlite', 'uuid', 'digest' are not available for package 'IRkernel'
* removing 'D:/Program Files/R/R-4.1.0/library/IRkernel'

更新模块包之后,再次安装即可解决上述问题。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

great-wind

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值