/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
相关推荐
菜鸟z级9 分钟前
在新电脑装ubuntu包
linux·运维·ubuntu
C+++Python10 分钟前
Python MCP Server 最简实现
开发语言·python
zhuhezhang18 分钟前
一个用python开发的文本对比工具
python·文本对比工具
智算菩萨20 分钟前
【Python图像处理】5 Pillow图像处理与格式转换
图像处理·python·pillow
人工干智能28 分钟前
科普:%%matplotlib inline:魔法命令 (Cell Magic)
python·matplotlib
05大叔31 分钟前
优化器Adam,神经网络处理文本,CNN,RNN
开发语言·python·机器学习
徒 花1 小时前
Python知识学习08
java·python·算法
魔都吴所谓1 小时前
【Ubuntu】离线环境下Git LFS(deb包)安装与验证完整教程
linux·git·ubuntu
前端技术1 小时前
ArkTS第三章:声明式UI开发实战
java·前端·人工智能·python·华为·鸿蒙
疯狂成瘾者1 小时前
.pyc格式文件
python