美文网首页
2023-10-09 /bin/bash: x86_64-con

2023-10-09 /bin/bash: x86_64-con

作者: 阿酒88 | 来源:发表于2023-10-08 13:43 被阅读0次

R 安装GBM工具包,报错信息:/bin/bash: x86_64-conda-linux-gnu-c++: command not found

再网上查找帮助信息,这个帖子解决了我的安装报错信息https://blog.csdn.net/weixin_64316191/article/details/128945014

在服务器对应位置:

/data/XXX/XXX/anaconda/envs/R.4.2.0/lib/R/etc

找到了Makeconf文件,我的报错信息和贴子不同,错误出现在177行

$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@

变量是CXX

改为绝对路径后,R包可以正常安装了!感谢!

相关文章

网友评论

      本文标题:2023-10-09 /bin/bash: x86_64-con

      本文链接:https://www.haomeiwen.com/subject/adrbbdtx.html