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

打印 上一主题 下一主题

主题 650|帖子 650|积分 1954

安装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权限,即终端输入
  1. sudo cp /xxx/libarchive.so.19 /usr/lib/
  2. //sudo cp <文件本来在哪儿> <要移动到哪儿>
复制代码
conda获取requirements.txt
  1. conda list -e > requirements.txt
复制代码
一个生成的requirements.txt
  1. # This file may be used to create an environment using:
  2. # $ conda create --name <env> --file <this file>
  3. # platform: linux-64
  4. _libgcc_mutex=0.1=conda_forge
  5. _openmp_mutex=4.5=2_kmp_llvm
  6. assimp=5.3.1=hfb0e8fe_2
  7. bzip2=1.0.8=hd590300_5
  8. ca-certificates=2023.11.17=hbcca054_0
  9. console_bridge=1.0.2=h924138e_1
  10. crocoddyl=2.0.2=py310hcfe0b05_0
  11. cyrus-sasl=2.1.28=h52b45da_1
  12. dbus=1.13.18=hb2f20db_0
  13. eigen=3.4.0=h00ab1b0_0
  14. eigenpy=3.1.4=py310hcfe0b05_0
  15. eiquadprog=1.2.8=h0af5e60_0
  16. example-robot-data=4.0.9=py310hcb52e73_0
  17. expat=2.5.0=h6a678d5_0
  18. fontconfig=2.14.2=h14ed4e7_0
  19. freetype=2.12.1=h4a9f257_0
  20. glib=2.69.1=he621ea3_2
  21. gst-plugins-base=1.14.1=h6a678d5_1
  22. gstreamer=1.14.1=h5eee18b_1
  23. hpp-fcl=2.4.0=py310hd002f03_0
  24. icu=73.2=h59595ed_0
  25. jpeg=9e=h5eee18b_1
  26. krb5=1.20.1=h143b758_1
  27. ld_impl_linux-64=2.40=h41732ed_0
  28. libblas=3.9.0=20_linux64_openblas
  29. libboost=1.82.0=h6fcfa73_6
  30. libboost-devel=1.82.0=h00ab1b0_6
  31. libboost-headers=1.82.0=ha770c72_6
  32. libboost-python=1.82.0=py310hcb52e73_6
  33. libboost-python-devel=1.82.0=py310h17c5347_6
  34. libcblas=3.9.0=20_linux64_openblas
  35. libclang=14.0.6=default_hc6dbbc7_1
  36. libclang13=14.0.6=default_he11475f_1
  37. libcups=2.4.2=h2d74bed_1
  38. libedit=3.1.20221030=h5eee18b_0
  39. libevent=2.1.12=hdbd6064_1
  40. libffi=3.4.2=h7f98852_5
  41. libgcc-ng=13.2.0=h807b86a_3
  42. libgfortran-ng=13.2.0=h69a702a_3
  43. libgfortran5=13.2.0=ha4646dd_3
  44. libgomp=13.2.0=h807b86a_3
  45. liblapack=3.9.0=20_linux64_openblas
  46. libllvm14=14.0.6=hdb19cb5_3
  47. libnsl=2.0.1=hd590300_0
  48. libopenblas=0.3.25=pthreads_h413a1c8_0
  49. libpng=1.6.39=h5eee18b_0
  50. libpq=12.15=hdbd6064_1
  51. libsqlite=3.44.2=h2797004_0
  52. libstdcxx-ng=13.2.0=h7e041cc_3
  53. libuuid=2.38.1=h0b41bf4_0
  54. libxcb=1.15=h7f8727e_0
  55. libxkbcommon=1.0.1=h5eee18b_1
  56. libxml2=2.10.4=hf1b16e4_1
  57. libzlib=1.2.13=hd590300_5
  58. llvm-openmp=17.0.6=h4dfa4b3_0
  59. mysql=5.7.24=h721c034_2
  60. ncurses=6.4=h59595ed_2
  61. nspr=4.35=h6a678d5_0
  62. nss=3.89.1=h6a678d5_0
  63. numpy=1.26.3=py310hb13e2d6_0
  64. octomap=1.9.8=h924138e_0
  65. openssl=3.2.0=hd590300_1
  66. pcre=8.45=h295c915_0
  67. pinocchio=2.6.21=py310hf889902_1
  68. pip=23.3.2=pyhd8ed1ab_0
  69. python=3.10.12=hd12c33a_0_cpython
  70. python_abi=3.10=4_cp310
  71. qhull=2020.2=h4bd325d_2
  72. qt=5.15.9=h06a4308_0
  73. qt-main=5.15.2=h53bd1ea_10
  74. qt-webengine=5.15.9=h9ab4d14_7
  75. readline=8.2=h8228510_1
  76. setuptools=69.0.3=pyhd8ed1ab_0
  77. sqlite=3.41.2=h5eee18b_0
  78. tinyxml=2.6.2=h4bd325d_2
  79. tinyxml2=10.0.0=h59595ed_0
  80. tk=8.6.13=noxft_h4845f30_101
  81. tsid=1.7.0=py310h2d87c1e_2
  82. tzdata=2023d=h0c530f3_0
  83. urdfdom=3.1.1=h8a9b4ce_0
  84. urdfdom_headers=1.1.1=h00ab1b0_0
  85. wheel=0.42.0=pyhd8ed1ab_0
  86. xz=5.4.2=h5eee18b_0
  87. zlib=1.2.13=hd590300_5
  88. zstd=1.5.5=hfc55251_0
复制代码


免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

篮之新喜

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表