Unable to install cubature package (configure: error: C compiler cannot create executables)
Unable to install cubature package (configure: error: C compiler cannot create executables)
我一直在尝试为 coursera 上的 "Stats with R" 专业安装 "statsr" 软件包,但是,我 运行 遇到了很多障碍。
在尝试了 Whosebug 和其他方面建议的所有内容之后,这就是我所在的位置。
显然,我无法安装 "curbature" 软件包,否则 "statsr" 将无法安装。
> install_local("~/Downloads//statsr-master")
统计错误:https://pastebin.com/8wGequDQ
> install.packages("cubature")
曲率错误:https://pastebin.com/MLb4Dqf3
我安装了命令行工具以及 clang 和 gcc。 Brew 配置日志如下所示:
HOMEBREW_VERSION: 2.0.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 117c24f4b6294e037431d3a850ced6955d53e26f
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 912d73ae0e5e38162e1dce53e5a53bb060d78da8
Core tap last commit: 9 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_LOGS: /Users/shaileshdudala/Library/Logs/Homebrew
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 11.0.2
macOS: 10.14-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
想法?
嘿,我遇到了同样的问题。从 Anaconda 卸载 RStudio,然后 独立 (不通过 Anaconda)安装 RStudio 和 运行 所有包安装命令。现在工作正常
我一直在尝试为 coursera 上的 "Stats with R" 专业安装 "statsr" 软件包,但是,我 运行 遇到了很多障碍。
在尝试了 Whosebug 和其他方面建议的所有内容之后,这就是我所在的位置。
显然,我无法安装 "curbature" 软件包,否则 "statsr" 将无法安装。
> install_local("~/Downloads//statsr-master")
统计错误:https://pastebin.com/8wGequDQ
> install.packages("cubature")
曲率错误:https://pastebin.com/MLb4Dqf3
我安装了命令行工具以及 clang 和 gcc。 Brew 配置日志如下所示:
HOMEBREW_VERSION: 2.0.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 117c24f4b6294e037431d3a850ced6955d53e26f
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 912d73ae0e5e38162e1dce53e5a53bb060d78da8
Core tap last commit: 9 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_LOGS: /Users/shaileshdudala/Library/Logs/Homebrew
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 11.0.2
macOS: 10.14-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
想法?
嘿,我遇到了同样的问题。从 Anaconda 卸载 RStudio,然后 独立 (不通过 Anaconda)安装 RStudio 和 运行 所有包安装命令。现在工作正常