MOFA+:run_mofa(mofa)失败的解决方法

今天用MOFA方法多组学聚类,在

mofa <- run_mofa(mofa)

这步疯狂报以下错误:
Connecting to the mofapy2 python package using reticulate (use_basilisk = FALSE)…
Please make sure to manually specify the right python binary when loading R with reticulate::use_python(…, force=TRUE) or the right conda environment with reticulate::use_condaenv(…, force=TRUE)
If you prefer to let us automatically install a conda environment with ‘mofapy2’ installed using the ‘basilisk’ package, please use the argument ‘use_basilisk = TRUE’
ReadError: unexpected end of data [56593] Failed to execute script entry_point concurrent.futures.process._RemoteTraceback: ‘’’ Traceback (most recent call last): File “concurrent/futures/process.py”, line 368, in _queue_management_worker File “multiprocessing/connection.py”, line 251, in recv TypeError: init() missing 1 required positional argument: ‘msg’ ‘’’ The above exception was the direct cause of the following exception: Traceback (most recent call last): File “entry_point.py”, line 69, in File “concurrent/futures/process.py”, line 484, in _chain_from_iterable_of_lists File “concurrent/futures/_base.py”, line 611, in result_iterator File “concurrent/futures/_base.py”, line 439, in result File “concurrent/futures/_base.py”, line 388, in __get_result concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. [59185] Failed to execute script entry_point Error in installConda() : conda installation failed with status code ‘1’
我明白是我当前环境没安装mofapy2的包,我就去对应的虚拟环境中,安装了最新版本的:

pip install mofapy2==0.6.4

结果依旧报一样的错误,后来重新启动rstudio(kill -9 对应PID),问题解决,果然很多事情,重启就能解决!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值