注释掉~/.condarc中的changeps1行,再执行conda init bash ,正常运行。 conda init bash no change /public1/software/apps/anaconda3/condabin/conda no change /public1/software/apps/anaconda3/bin/conda no change /public1/software/apps/anaconda3/bin/conda-env no change /public1/software/apps/anaconda...
When we use the order conda init in Git-Bash to initialize the terminal, it will give us a error infomation: no actions taken: $ conda init bash no change S:\softwares\Anaconda\Scripts\conda.exe no change S:\softwares\Anaconda\Scripts\conda-env.exe no change S:\softwares\Anaconda\Scripts...
之后用文本编辑器打开C:\Anacondda3\Scripts\conda并添加如下命令即可 #!/usr/bin/env bash C:...
$ conda init<SHELL_NAME>Currently supported shells are:-bash-fish-tcsh-xonsh-zsh-powershell See'conda init --help'formore information and options.IMPORTANT:You may need tocloseand restart your shell after running'conda init'. 解决方法:设置.bashrc,就算已经自动添加了conda init的代码,你还是需要添加...
bash Anaconda3-2021.11-Linux-x86_64.sh #安装路径也选择默认,两次询问都选择yes。中间的查看信息可按q跳过。 最后一次询问是选择是否执行conda init,默认(也就是不输入yes直接回车)是不执行。如果选择不执行,那么后面还要手动添加conda环境变量 echo "export PATH=~/anaconda3/bin:$PATH" >> ~/.bashrc ...
安装完成后,再次尝试运行conda init。 检查硬件: 如果怀疑是硬件问题,可以运行系统诊断工具来检查硬盘和其他硬件组件。 查看日志: 查看 Conda 的日志文件,通常位于~/.conda/目录下,以获取更多关于错误的详细信息。 示例代码 如果你想手动初始化 Conda 环境到 bash shell,可以尝试以下步骤: ...
conda init bash 1. 然后关闭并重新打开你的终端,或者重新加载.bashrc: source ~/.bashrc 1. 4. 重新激活环境 在进行了上述更改之后,确保重新激活你的Conda环境: conda activate Linly-Talker 1. 然后再次检查pip的路径。 检查pip版本和路径 在做出更改后,使用以下命令来验证pip的路径和版本,确保它指向正确的环境...
$ conda init <SHELL_NAME> Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init'. ...
\n"}],"Post":[{"title":"init ubuntu","_content":"\n\n## install minconda\n\n\n\n``` bash\ncd ~\nmkdir download\ncd download\nwget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh\nbash Miniconda3-py310_23.1.0-1-Linux-x86_64.sh\n\n# ...