跨境派

跨境派

跨境派,专注跨境行业新闻资讯、跨境电商知识分享!

当前位置:首页 > 跨境学堂 > conda 加载conda-libmamba-solver时找不到libarchive.so.19

conda 加载conda-libmamba-solver时找不到libarchive.so.19

时间:2024-03-24 12:32:48 来源:网络cs 作者:亙句 栏目:跨境学堂 阅读:

标签:
阅读本书更多章节>>>>

安装micromamba之后conda的使用出现了一些问题,在使用conda create时报错如下:

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

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

报错原因就是conda 加载conda-libmamba-solver时找不到libarchive.so.19,参考过一些解决方法均未解决。最终自己找到libarchive.so.19将其复制到/usr/lib下,问题得以解决。注意可能不能手动复制,需要给sudo权限,即终端输入

sudo cp /xxx/libarchive.so.19 /usr/lib///sudo cp <文件本来在哪儿> <要移动到哪儿>

conda获取requirements.txt

conda list -e > requirements.txt 

一个生成的requirements.txt

# This file may be used to create an environment using:# $ conda create --name <env> --file <this file># platform: linux-64_libgcc_mutex=0.1=conda_forge_openmp_mutex=4.5=2_kmp_llvmassimp=5.3.1=hfb0e8fe_2bzip2=1.0.8=hd590300_5ca-certificates=2023.11.17=hbcca054_0console_bridge=1.0.2=h924138e_1crocoddyl=2.0.2=py310hcfe0b05_0cyrus-sasl=2.1.28=h52b45da_1dbus=1.13.18=hb2f20db_0eigen=3.4.0=h00ab1b0_0eigenpy=3.1.4=py310hcfe0b05_0eiquadprog=1.2.8=h0af5e60_0example-robot-data=4.0.9=py310hcb52e73_0expat=2.5.0=h6a678d5_0fontconfig=2.14.2=h14ed4e7_0freetype=2.12.1=h4a9f257_0glib=2.69.1=he621ea3_2gst-plugins-base=1.14.1=h6a678d5_1gstreamer=1.14.1=h5eee18b_1hpp-fcl=2.4.0=py310hd002f03_0icu=73.2=h59595ed_0jpeg=9e=h5eee18b_1krb5=1.20.1=h143b758_1ld_impl_linux-64=2.40=h41732ed_0libblas=3.9.0=20_linux64_openblaslibboost=1.82.0=h6fcfa73_6libboost-devel=1.82.0=h00ab1b0_6libboost-headers=1.82.0=ha770c72_6libboost-python=1.82.0=py310hcb52e73_6libboost-python-devel=1.82.0=py310h17c5347_6libcblas=3.9.0=20_linux64_openblaslibclang=14.0.6=default_hc6dbbc7_1libclang13=14.0.6=default_he11475f_1libcups=2.4.2=h2d74bed_1libedit=3.1.20221030=h5eee18b_0libevent=2.1.12=hdbd6064_1libffi=3.4.2=h7f98852_5libgcc-ng=13.2.0=h807b86a_3libgfortran-ng=13.2.0=h69a702a_3libgfortran5=13.2.0=ha4646dd_3libgomp=13.2.0=h807b86a_3liblapack=3.9.0=20_linux64_openblaslibllvm14=14.0.6=hdb19cb5_3libnsl=2.0.1=hd590300_0libopenblas=0.3.25=pthreads_h413a1c8_0libpng=1.6.39=h5eee18b_0libpq=12.15=hdbd6064_1libsqlite=3.44.2=h2797004_0libstdcxx-ng=13.2.0=h7e041cc_3libuuid=2.38.1=h0b41bf4_0libxcb=1.15=h7f8727e_0libxkbcommon=1.0.1=h5eee18b_1libxml2=2.10.4=hf1b16e4_1libzlib=1.2.13=hd590300_5llvm-openmp=17.0.6=h4dfa4b3_0mysql=5.7.24=h721c034_2ncurses=6.4=h59595ed_2nspr=4.35=h6a678d5_0nss=3.89.1=h6a678d5_0numpy=1.26.3=py310hb13e2d6_0octomap=1.9.8=h924138e_0openssl=3.2.0=hd590300_1pcre=8.45=h295c915_0pinocchio=2.6.21=py310hf889902_1pip=23.3.2=pyhd8ed1ab_0python=3.10.12=hd12c33a_0_cpythonpython_abi=3.10=4_cp310qhull=2020.2=h4bd325d_2qt=5.15.9=h06a4308_0qt-main=5.15.2=h53bd1ea_10qt-webengine=5.15.9=h9ab4d14_7readline=8.2=h8228510_1setuptools=69.0.3=pyhd8ed1ab_0sqlite=3.41.2=h5eee18b_0tinyxml=2.6.2=h4bd325d_2tinyxml2=10.0.0=h59595ed_0tk=8.6.13=noxft_h4845f30_101tsid=1.7.0=py310h2d87c1e_2tzdata=2023d=h0c530f3_0urdfdom=3.1.1=h8a9b4ce_0urdfdom_headers=1.1.1=h00ab1b0_0wheel=0.42.0=pyhd8ed1ab_0xz=5.4.2=h5eee18b_0zlib=1.2.13=hd590300_5zstd=1.5.5=hfc55251_0

阅读本书更多章节>>>>

本文链接:https://www.kjpai.cn/xuetang/2024-03-24/147862.html,文章来源:网络cs,作者:亙句,版权归作者所有,如需转载请注明来源和作者,否则将追究法律责任!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。

文章评论