/etc/profile.d/conda.sh: No such file or directory : numeric argument required

root@DESKTOP-EFJIGB6:~/miniconda3/bin# source activate

/etc/profile.d/conda.sh: No such file or directory

: numeric argument required

root@DESKTOP-EFJIGB6:~/miniconda3/bin#

解决办法

bash 复制代码
~/miniconda3/bin/conda init

这将修改你的 shell 启动文件(如 .bashrc 或 .zshrc),添加 Conda 的路径和激活脚本。之后运行:

bash 复制代码
source ~/.bashrc
相关推荐
孙启超32 分钟前
【AI应用开发】Agent 无限 loop(反复调用同一个工具)如何规避?
人工智能·python·算法·llm·agent·loop·ai应用开发
银-豆豆37 分钟前
Python爬虫
开发语言·爬虫·python
香吧香1 小时前
Python 基础语法总结
python
IT小盘1 小时前
10-使用Reranker提升RAG回答准确率
人工智能·python
卷无止境1 小时前
Python 装饰器:给函数穿件"外套",到底难在哪?
后端·python
大地之灯1 小时前
从零做一个自己的 CLI
python·agent
gugucoding1 小时前
34.【Java】I/O流(下):NIO与文件操作
java·python·nio
cui_ruicheng1 小时前
Python数据分析(十三):Seaborn 统计可视化
开发语言·python·信息可视化·数据分析
如此这般英俊1 小时前
手搓Claude Code-第十章 system_prompt
数据结构·人工智能·python·语言模型·自然语言处理·prompt
高洁012 小时前
VLA:驱动具身智能迈向通用的关键引擎
人工智能·python·深度学习·transformer·知识图谱