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
(有用的话回来说一声)