- 最近在安装amber22时,使用其官方说明安装,但在安装miniconda这一步出错,致使amber22安装不成功!
- 报错如下:
CondaFileIOError: '/home/lbm/amber22/amber22_src/build/CMakeFiles/miniconda/install/pkgs/envs/*/env.txt'. [Errno 2] No such file or directory: '/home/lbm/amber22/amber22_src/build/CMakeFiles/miniconda/install/pkgs/envs/*/env.txt'
CMake Error at cmake/UseMiniconda.cmake:138 (message):
Miniconda installer failed! Please fix what's wrong, or disable Miniconda.
Call Stack (most recent call first):
cmake/PythonInterpreterConfig.cmake:63 (download_and_use_miniconda)
CMakeLists.txt:121 (include)
- 经过研究,解决办法如下:
- 出错原因:
- 解决办法:
- 在执行安装前在终端输入sh,切换到sh下再执行./run_cmake。
- 正常执行./run_make,出错后,将位于CMakeFiles/miniconda/download/Miniconda3-latest-Linux-x86_64.sh中的顶部由#/bin/sh改写成#/bin/bash。
- 正常执行./run_make,出错后,用老版本miniconda安装脚本替换CMakeFiles/miniconda/download/下的新脚本。
标签:Amber22,cmake,amber22,sh,miniconda,报错,出错,安装 From: https://www.cnblogs.com/phying/p/17027354.html