无法使用install_github()安装IRkernel:未安装Git吗? [英] Cannot install IRkernel with install_github(): Git not installed?

查看:518
本文介绍了无法使用install_github()安装IRkernel:未安装Git吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让R在Windows计算机上与Jupyter Notebook一起使用.我遵循了 IRkernel教程. 但是,我无法安装GitHub存储库,总是会收到错误消息

I was trying to get R working with the Jupyter Notebook on my Windows machine. I followed the IRkernel tutorial. However, I can't install the GitHub repository, I always get the error

install_github("IRkernel/IRkernel") Downloading GitHub repo IRkernel/IRkernel@master Error: Git does not seem to be installed on your system.

install_github("IRkernel/IRkernel") Downloading GitHub repo IRkernel/IRkernel@master Error: Git does not seem to be installed on your system.

已安装devtools软件包(2.0.1). install_github也可以与install_github("StatsWithR/statsr")(Coursera软件包)一起使用(尽管devtools软件包甚至没有加载?).

The devtools package (2.0.1) is installed. install_github also works for example with install_github("StatsWithR/statsr") (Coursera package) (although the devtools package is not even loaded?).

不确定如何处理问题,有什么想法吗?我的devtools软件包坏了吗?

Not sure how to deal with the problem, any ideas? Is my devtools package broken?

更新: 刚刚执行了R的重新安装(删除了所有软件包):我仍然遇到相同的错误

Update: Just performed a re-installation of R (deleted all packages): I still get the same error

推荐答案

在这里我会发出声音.我有同样的问题.我碰到了这个帖子... https://github.com/IRkernel/IRkernel/issues/594 其中飞羊"仅声明要安装git.因此转到 https://git-scm.com/并下载并安装,然后运行说明 https://irkernel.github.io/installation/,一切正常.现在在Jupyter Nb中使用R.

Thought I would chime in here. I had the exact same problem. I came across this post...https://github.com/IRkernel/IRkernel/issues/594 where Flying Sheep simply states to install git. So went to https://git-scm.com/ and downloaded and installed, then ran the instructions https://irkernel.github.io/installation/ and everything worked. Now using R in Jupyter Nb.

这篇关于无法使用install_github()安装IRkernel:未安装Git吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆