Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux – 安装’topicmodels’包时出错,非零退出状态; Ubuntu的大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

在Ubuntu 14.04上,值得信赖: install.packages( ‘topicmodels’) 错误信息: compilation terminated. make: *** [ctm.o] Error 1 ERROR: compilation failed for package ‘topicmodels’ * removing ‘/home/.../R/x86_64-pc-linu
在Ubuntu 14.04上,值得信赖:

install.packages( ‘topicmodels’)

错误信息:

compilation terminated.
make: *** [ctm.o] Error 1
ERROR: compilation Failed for package ‘topicmodels’
* removing ‘/home/.../R/x86_64-pc-linux-gnu-library/3.1/topicmodels’

The downloaded source packages are in
    ‘/tmp/Rtmp1L79dj/downloaded_packages’
Warning message:
In install.packages("topicmodels") :
  installation of package ‘topicmodels’ had **non-zero exit status**

解决方法

我发现在我的两个Ubuntu安装中,非零退出状态是由于没有gsl包而引起的.但是,在我弄清楚哪个版本可以解决错误之前,我花了很长时间.

在终端:sudo apt-get install libgsl0-dev

大佬总结

以上是大佬教程为你收集整理的linux – 安装’topicmodels’包时出错,非零退出状态; Ubuntu的全部内容,希望文章能够帮你解决linux – 安装’topicmodels’包时出错,非零退出状态; Ubuntu的所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。