/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
相关推荐
我是华为OD~HR~栗栗呀4 分钟前
测试转C++开发面经(华为OD)
java·c++·后端·python·华为od·华为·面试
Lyre丶17 分钟前
Ubuntu 24.04 LTS 安装GAMIT
linux·经验分享·学习·ubuntu·gamit
新手村领路人18 分钟前
ubuntu24.04安装todesk远程工具
ubuntu·todesk·远程工具
namekong821 分钟前
ubuntu 通过下面几种方式查看系统 重启时间/开机时间:
linux·运维·ubuntu
mldong43 分钟前
保姆级教程!手把手教你搭建FastAPI + Vue3前后端分离项目
vue.js·python·全栈
Q_Q5110082851 小时前
python+uniapp基于微信小程序美食点餐系统
spring boot·python·微信小程序·django·flask·uni-app·node.js
小关会打代码2 小时前
关于Pycharm中在运行出现语法错误:Non-UTF-8 code starting with
ide·python·pycharm
用户3721574261352 小时前
Python 高效将 PDF 转换为 HTML 的实用指南
python
深栈2 小时前
机器学习:编码方式
人工智能·python·机器学习·编码
yzx9910132 小时前
Django 搭配数据库开发智慧园区系统全攻略
python·django·数据库开发