Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open sh...

In VS Code Jupyter notebook, when WSL Distro (Ubuntu), repeatedly got an error when trying to install bwa to one conda env:

!conda install -c bioconda bwa -y

Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)

这个error可能是bug来的,各个版本可能还不一样内外网找了一圈没找到方法,兜兜转转,后来自己试了出来

Sometimes scripts can run regardless of this error, strangely...
(有时出这个error也能照跑,也不知道为啥,服了)

At the end I solved the issue by the following two lines (run separately):
(总之最后是这两行解决的,分开跑)

!sudo apt-get install libarchive13

!conda install mamba -c conda-forge --force-reinstall -y

These may needed to try in both jupyter notebook and the ubuntu terminal
(如果跟我一样在jupyter上跑的,试了不行的话用ubuntu再试试说不定也可以)
(以防万一提醒: 直接用linux、ubuntu、xx terminal之类,就不要最前面的叹号)

Github:
github.com/djunsheep/bugdebugrecords/blob/main/bug.conda-libmamba-solver.md

tell me if it solves btw
(有用的话回来说一声)

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值