安装'topicmodels'软件包时出错,退出状态为非零;的Ubuntu [英] Error installing 'topicmodels' package, non zero exit status; Ubuntu

查看:223
本文介绍了安装'topicmodels'软件包时出错,退出状态为非零;的Ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ubuntu 14.04上,值得信赖:

On Ubuntu 14.04, trusty:

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软件包引起的.但是,我花了相当长的时间才弄清楚哪个版本可以解决该错误.

I found out that on two of my Ubuntu installations, the non-zero exit status was caused by not having the gsl package. However, it took me quite sometime before I could figure out which version would cure the error.

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

这篇关于安装'topicmodels'软件包时出错,退出状态为非零;的Ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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