ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 2.4 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://blog.csdn.net/weixin_43305485/article/details/130045116 |
| Last Crawled | 2026-01-26 22:57:57 (2 months ago) |
| First Indexed | 2023-05-12 22:05:24 (2 years ago) |
| HTTP Status Code | 200 |
| Meta Title | [解决方案] conda: command not found-CSDN博客 |
| Meta Description | 文章浏览阅读1w次,点赞15次,收藏20次。在终端查看miniconda安装情况时,出现conda: command not found报错,原因是~/.bashrc文件未配置好。解决步骤为找到miniconda3位置,在~/.bashrc文件最后添加相关内容,保存退出后激活该文件。 |
| Meta Canonical | null |
| Boilerpipe Text | 原创
已于 2023-10-25 19:35:10 修改
·
1w 阅读
·
15
·
20
·
CC 4.0 BY-SA版权
版权声明:本文为博主原创文章,遵循
CC 4.0 BY-SA
版权协议,转载请附上原文出处链接和本声明。
于 2023-04-09 17:54:50 首次发布
在终端输入
conda info --envs
查看miniconda是否安装成功,发现报错:conda: command not found(
原因是~/.bashrc文件没有配置好
)
[解决步骤]:
找到你的miniconda3位置(例如:/home/hd/miniconda3/bin)
vim ~/.bashrc
(在最后一行添加以下内容,然后按esc键退出,wq:保存退出)
export
PATH
=
$PATH
:/home/hd/miniconda3/bin
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup
=
"
$(
'/home/hd/miniconda3/bin/conda
' '
shell.bash
' '
hook'
2
>
/dev/null
)
"
if
[
$?
-eq
0
]
;
then
eval
"
$__conda_setup
"
else
if
[
-f
"/home/hd/miniconda3/etc/profile.d/conda.sh"
]
;
then
.
"/home/hd/miniconda3/etc/profile.d/conda.sh"
else
export
PATH
=
"/home/hd/miniconda3/bin:
$PATH
"
fi
fi
unset
__conda_setup
# <<< conda initialize <<<
source ~/.bashrc
(添加后激活) |
| Markdown | # \[解决方案\] conda: command not found
原创 已于 2023-10-25 19:35:10 修改 · 1w 阅读
·   15
· [  20]() ·
CC 4.0 BY-SA版权
版权声明:本文为博主原创文章,遵循 [CC 4.0 BY-SA](http://creativecommons.org/licenses/by-sa/4.0/) 版权协议,转载请附上原文出处链接和本声明。
文章标签:
[\#conda](https://so.csdn.net/so/search/s.do?q=conda&t=all&o=vip&s=&l=&f=&viparticle=&from_tracking_code=tag_word&from_code=app_blog_art)
于 2023-04-09 17:54:50 首次发布
[ BIOSRM xFusion 服务器运维问题 专栏收录该内容](https://blog.csdn.net/weixin_43305485/category_12281361.html "BIOSRM xFusion 服务器运维问题")
7 篇文章
[订阅专栏]()
在终端查看miniconda安装情况时,出现conda: command not found报错,原因是~/.bashrc文件未配置好。解决步骤为找到miniconda3位置,在~/.bashrc文件最后添加相关内容,保存退出后激活该文件。

Python3.9
Conda
Python
Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本
一键部署运行
在终端输入`conda info --envs`查看miniconda是否安装成功,发现报错:conda: command not found(**原因是~/.bashrc文件没有配置好**)
\[解决步骤\]:
1. 找到你的miniconda3位置(例如:/home/hd/miniconda3/bin)
2. **vim ~/.bashrc**(在最后一行添加以下内容,然后按esc键退出,wq:保存退出)
```
export PATH=$PATH:/home/hd/miniconda3/bin
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/hd/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/hd/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/hd/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/hd/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
```
1. **source ~/.bashrc**(添加后激活)
您可能感兴趣的与本文相关的镜像

Python3.9
Conda
Python
Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本
一键部署运行

确定要放弃本次机会?
福利倒计时
*:* *:*
 立减 ¥
普通VIP年卡可用
[立即使用](https://mall.csdn.net/vip)
[ 叫我蘑菇先生](https://blog.csdn.net/weixin_43305485)
[关注]() [关注]()
- [   15]()
点赞
- [ ]()
踩
- [   20]()
收藏
觉得还不错? 一键收藏 
- 
知道了
[ 2](https://blog.csdn.net/weixin_43305485/article/details/130045116#commentBox)
评论
- [ 分享]()
[复制链接]()
[分享到 QQ]()
[分享到新浪微博]()
扫一扫
- [ 打赏]()
打赏
- []()
[ 打赏]() [ 举报]()
[ 举报]()
[专栏目录]()
[【报错】*conda**:* *command* *not* *found*](https://jackilina.blog.csdn.net/article/details/123553807)
[静谧、淡雅](https://blog.csdn.net/wss794)
03-17  5646
[LINUX系统 已安装*conda*,使用*conda*命令报错👇 报错:*conda**:* *command* *not* *found* 分析原因:~/.bashrc文件没有配置好 解决方法:输入如下命令 export PATH=\$PATH*:*/home/DL/ana*conda*3/bin上述路径根据自己得实际来写。 测试:输入*conda* env,成功了。 ...](https://jackilina.blog.csdn.net/article/details/123553807)
[解决脚本文件无法执行*conda*命令的问题:*Command**Not**Found*Error*:* Your shell has *not* been properly configured to use](https://sagima.blog.csdn.net/article/details/131955376)
[sagima\_sdu的博客](https://blog.csdn.net/weixin_45498383)
07-27  4096
[在脚本中,先source一下你的ana*conda*目录下,ana*conda*3/etc/profile.d/*conda*.sh这个脚本,是用于加载 *Conda* 的初始化脚本,以使。使用Linux系统时,有时候希望利用一个脚本执行多条命令来节省时间,其中如果安装有ana*conda*,需要切换环境或者关闭*conda*环境,按道理说,在终端里可以通过命令。上面的脚本,先修改为你的ana*conda*目录,后面是用一个if指令反馈一下是否已经退出*conda*环境,运行测试。命令能够正常工作,比如。执行会失败,报错内容为。](https://sagima.blog.csdn.net/article/details/131955376)
2 条评论 您还未登录,请先 登录 后发表或查看评论
[解决*conda**:* *command* *not* *found*问题 最新发布](https://blog.csdn.net/weixin_35749786/article/details/155973484)
[weixin\_35749786的博客](https://blog.csdn.net/weixin_35749786)
12-15  1105
[通过重新安装Mini*conda*并正确配置PATH,解决*conda*命令无法找到的问题。安装后需重启终端并验证*conda*版本,随后可正常创建Python环境。](https://blog.csdn.net/weixin_35749786/article/details/155973484)
[报错:*Command**Not**Found*Error*:* Your shell has *not* been properly configured to use ‘*conda* activate‘. 问题解决](https://sagima.blog.csdn.net/article/details/127873078)
[sagima\_sdu的博客](https://blog.csdn.net/weixin_45498383)
11-15  9269
[报错:*Command**Not**Found*Error*:* Your shell has *not* been properly configured to use '*conda* activate'. 问题解决](https://sagima.blog.csdn.net/article/details/127873078)
[*conda*找不到命令](https://blog.csdn.net/qq_58779129/article/details/147815964)
[qq\_58779129的博客](https://blog.csdn.net/qq_58779129)
05-09  6562
[如果你在终端中运行*conda*时提示“找不到命令”(如或。](https://blog.csdn.net/qq_58779129/article/details/147815964)
[\-bash*:* *conda**:* *command* *not* *found*](https://blog.csdn.net/fkmmmm/article/details/142954045)
[雕刻刀](https://blog.csdn.net/fkmmmm)
10-15  6222
[bash*:* *conda**:* *command* *not* *found* 说明当前的终端环境中没有找到 *conda* 命令,可能是因为 *Conda* 没有安装,或者当前的环境变量中没有包含 *Conda* 的路径。如果 *Conda* 已安装,但 *conda* 命令不可用,可能是没有添加路径。*Conda*Error*:* Run ‘*conda* init’ before ‘*conda* activate’ 表示需要先初始化 *Conda*,使其能正确加载和激活环境。确认 *Conda* 路径是否添加到环境变量。确保 *Conda* 已安装。](https://blog.csdn.net/fkmmmm/article/details/142954045)
[ubuntu *conda**:* *command* *not* *found*](https://wenku.csdn.net/answer/6iqhxrv3p2)
03-18
[\### 解决 Ubuntu 中 '*conda**:* *command* *not* *found*' 的问题 在 Ubuntu 系统中遇到 \`*conda**:* *command* *not* *found*\` 错误通常是因为 *Conda* 的安装路径未被正确添加到系统的环境变量中。以下是对此问题的分析以及*解决方案*。 ...](https://wenku.csdn.net/answer/6iqhxrv3p2)
[bash*:* *conda**:* *command* *not* *found*](https://wenku.csdn.net/answer/nco1w90x5n)
11-21
[首先,用户的问题是关于解决在bash中出现'*conda**:* *command* *not* *found*'错误的方案。系统指令要求我使用中文回答,并确保回答真实可靠,结构清晰。 我需要参考提供的引用内容: - 引用\[1\]提到这可能由于环境问题,建议...](https://wenku.csdn.net/answer/nco1w90x5n)
[miniforge *conda**:**command* *not* *found*](https://wenku.csdn.net/answer/5874yc2k7w)
01-11
[当遇到 \`*conda**:* *command* *not* *found*\` 的错误提示时,通常是因为系统的 shell 尚未识别到 Miniforge 所安装的路径。以下是几种可能的原因及对应的*解决方案*。 \#### 1. 初始化脚本未执行 如果在安装过程中跳过了初始化...](https://wenku.csdn.net/answer/5874yc2k7w)
[*conda*环境下wget*:* *command* *not* *found**解决方案*](https://blog.csdn.net/lsb2002/article/details/135692315)
[十年以上架构设计经验,专注于软件架构和人工智能领域,对机器视觉、NLP、音视频等领域都有涉猎](https://blog.csdn.net/lsb2002)
01-19  2741
[*Conda*是一个强大的工具,对于管理复杂的Python项目和环境至关重要。它简化了包管理和环境设置,使得Python开发更加容易和高效。通过使用*Conda*,开发者可以确保他们的项目在不同机器和操作系统上都能以相同的方式运行,大大提高了项目的可移植性和可复现性。](https://blog.csdn.net/lsb2002/article/details/135692315)
[ubuntu报*conda**:* *command* *not* *found*](https://wenku.csdn.net/answer/4iizge0ous)
09-09
[嗯,用户需要解决Ubuntu系统中'*conda**:* *command* *not* *found*'错误的*解决方案*。这个问题我之前遇到过,核心是环境变量配置问题。用户引用了四篇资料,都指向同一个方向:需要将*conda*的安装路径添加到.bashrc文件的PATH...](https://wenku.csdn.net/answer/4iizge0ous)
[*conda**:* *command* *not* *found*](https://blog.csdn.net/weixin_43986898/article/details/117745936)
[weixin\_43986898的博客](https://blog.csdn.net/weixin_43986898)
06-09  465
[在服务器上安装ana*conda*,并进行配置后,输入*conda* --version,报错:*conda**:* *command* *not* *found* 解决方法: 其中PATH为自己的文件夹 ibit@ibit*:*~\$ echo 'export PATH="/home/ana*conda*3/bin*:*\$PATH"' \>\> ~/.bashrc ibit@ibit*:*~\$ source ~/.bashrc ...](https://blog.csdn.net/weixin_43986898/article/details/117745936)
[【Linux】*conda**:* *command* *not* *found*解决办法](https://blog.csdn.net/qq_44853023/article/details/134934625)
[qq\_44853023的博客](https://blog.csdn.net/qq_44853023)
12-11  4563
[理论上ana*conda*安装的时候就会把可执行文件的路径(ana*conda*3/bin)添加到bashrc文件里,作为环境变量,这样就可以在终端任意目录下直接调用*conda*命令;所以到这个可执行文件的目录下面,手动输入./*conda* init来执行这个命令,这个命令就会把路径添加到bashrc的环境变量里。但是我安装的时候没有执行init这一步(安装时有一步问是否执行*conda* init的,一定要选yes!cd /home/hcc/data/ana*conda*3/bin(ana*conda*3/bin的路径)](https://blog.csdn.net/qq_44853023/article/details/134934625)
[问题5:检查*conda* --version显示*conda*:未找到命令 热门推荐](https://blog.csdn.net/qq_63913621/article/details/128863672)
[qq\_63913621的博客](https://blog.csdn.net/qq_63913621)
02-03  1万+
[yolov5学习记录!](https://blog.csdn.net/qq_63913621/article/details/128863672)
[针对Ubuntu安装Ana*conda*之后在终端不能执行*conda*相关的命令,报错提示:*conda* 未找到命令](https://devpress.csdn.net/v1/article/detail/144174504)
[2301\_79698889的博客](https://blog.csdn.net/2301_79698889)
12-01  1946
[刷新完系统环境之后就可以输入与*conda*相关的命令进行尝试,只要命令能正常执行就代表环境变量添加成功。在文件中与之类似的地方添加上述语句即可,注意语句中YourUsername是你的系统用户名名称。报错原因:安装完Ana*conda*之后没有将*conda*添加到系统的环境变量中去。注意不要少了“ / ”后面的“ . ”,在打开的文件中添加下列语句。问题描述:输入*conda*相关的命令会报错:*conda*:未找到命令。修改完之后按Ctrl+s保存,打开终端,输入下列语句更新系统环境。](https://devpress.csdn.net/v1/article/detail/144174504)
[ubontu-问题*conda*:*command* *not* *found*](https://blog.csdn.net/weixin_38787389/article/details/127196357)
[weixin\_38787389的博客](https://blog.csdn.net/weixin_38787389)
10-07  4700
[ubontu-问题*conda*:*command* *not* *found*](https://blog.csdn.net/weixin_38787389/article/details/127196357)
[*conda**:* *command* *not* *found*问题解决](https://blog.csdn.net/sxh371302/article/details/113785939)
[sxh371302的博客](https://blog.csdn.net/sxh371302)
02-10  6039
[在配置新服务器的时候遇到了一个问题,在调用*conda*命令的时候显示 *conda**:* *command* *not* *found*,明明已经安装了*conda*问什么不能调用呢,这是因为初次使用没有配置环境变量。解决方法如下: 第一步,在命令行输入:vim ~/.bashrc 进入配置页面,在最后一行 的下面输入export PATH=\$PATH*:*…/ana*conda*3/bin (ana*conda*3的地址目录)。 然后按下Esc之后输入“*:*wq!” 即可保存退出配置界面,在命令行运行source ~/.bashrc就可以正](https://blog.csdn.net/sxh371302/article/details/113785939)
[](https://blog.csdn.net/weixin_43305485)
[叫我蘑菇先生](https://blog.csdn.net/weixin_43305485 "叫我蘑菇先生")
博客等级 
码龄7年
[34 原创](https://blog.csdn.net/weixin_43305485)
395
点赞
2194
收藏
573
粉丝
[关注]()
[私信](https://im.csdn.net/chat/weixin_43305485)
### 热门文章
- [计算散列表查找成功和查找不成功的平均查找长度(利用线性探测法处理冲突)  49078](https://blog.csdn.net/weixin_43305485/article/details/120680371)
- [学生宿舍管理系统设计与分析  37308](https://blog.csdn.net/weixin_43305485/article/details/111824892)
- [折半查找判定树——(快速判断某棵树是否为折半查找判定树)  22644](https://blog.csdn.net/weixin_43305485/article/details/120619942)
- [JavaWeb个人通讯录实现(JSP+JDBC)  21063](https://blog.csdn.net/weixin_43305485/article/details/111408150)
- [JavaWeb学生宿舍管理系统(JSP+JDBC+Servlet)  19678](https://blog.csdn.net/weixin_43305485/article/details/111823932)
### 分类专栏
- [ 毕业设计参考](https://blog.csdn.net/weixin_43305485/category_12382867.html)
1篇
- [ BIOSRM xFusion 服务器运维问题](https://blog.csdn.net/weixin_43305485/category_12281361.html)
7篇
- [ 软件获取](https://blog.csdn.net/weixin_43305485/category_10676554.html)
1篇
- [ Python基础学习](https://blog.csdn.net/weixin_43305485/category_11203106.html)
- [ LeetCode算法](https://blog.csdn.net/weixin_43305485/category_11577286.html)
6篇
- [ 操作系统](https://blog.csdn.net/weixin_43305485/category_11412091.html)
1篇
- [ 数据结构](https://blog.csdn.net/weixin_43305485/category_11074096.html)
5篇
- [ NB-IOT](https://blog.csdn.net/weixin_43305485/category_11181108.html)
2篇
- [ 数据分析学习](https://blog.csdn.net/weixin_43305485/category_10700694.html)
3篇
- [ 嵌入式体系学习](https://blog.csdn.net/weixin_43305485/category_10694713.html)
2篇
- [ 软件工程学习](https://blog.csdn.net/weixin_43305485/category_10694770.html)
1篇
- [ GIt学习](https://blog.csdn.net/weixin_43305485/category_10674919.html)
1篇
- [ JavaWeb学习](https://blog.csdn.net/weixin_43305485/category_10674940.html)
5篇
[展开全部 ]() [收起 ]()
上一篇:
[\[解决方案\] Pip源更改(pip下载速度缓慢)](https://blog.csdn.net/weixin_43305485/article/details/130045023)
下一篇:
[\[解决方案\] 远程连接服务器Python解释器(基于Pycharm Professional)](https://blog.csdn.net/weixin_43305485/article/details/130045175)
### 最新评论
- [\[解決方案\] conda 虚拟环境中 cuda不同版本進行切換(含Linux 和 Windows)](https://blog.csdn.net/weixin_43305485/article/details/130413708#comments_38871774)
[@u@:](https://blog.csdn.net/Mxeron) 这个脚本太有用了!!!
### 大家在看
- [C盘爆满怎么办?2026年最有效的C盘清理方法!轻松解决C盘变红](https://blog.csdn.net/goodfat/article/details/157403320)
### 最新文章
- [【Leetcode-找到所有数组中消失的数字】利用标记出现数组中出现过的数字解决数组中消失的数字问题](https://blog.csdn.net/weixin_43305485/article/details/145062024)
- [【Leetcode-移动零】利用将非零元素移动至数组前解决移动零问题(剪枝优化)](https://blog.csdn.net/weixin_43305485/article/details/145061532)
- [【Leetcode-合并两个有序数组】利用双指针解决合并两个有序数组问题](https://blog.csdn.net/weixin_43305485/article/details/145060499)
[2025年4篇](https://blog.csdn.net/weixin_43305485?type=blog&year=2025&month=01)
[2023年8篇](https://blog.csdn.net/weixin_43305485?type=blog&year=2023&month=07)
[2022年3篇](https://blog.csdn.net/weixin_43305485?type=blog&year=2022&month=04)
[2021年15篇](https://blog.csdn.net/weixin_43305485?type=blog&year=2021&month=10)
[2020年4篇](https://blog.csdn.net/weixin_43305485?type=blog&year=2020&month=12)

AI算力推荐
Python3.9
Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本
Conda
Python
镜像市场
一键部署
### 目录
展开全部 
收起 

AI算力推荐
Python3.9
Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本
Conda
Python
镜像市场
一键部署
### 目录
展开全部 
收起 
上一篇:
[\[解决方案\] Pip源更改(pip下载速度缓慢)](https://blog.csdn.net/weixin_43305485/article/details/130045023)
下一篇:
[\[解决方案\] 远程连接服务器Python解释器(基于Pycharm Professional)](https://blog.csdn.net/weixin_43305485/article/details/130045175)
### 分类专栏
- [ 毕业设计参考](https://blog.csdn.net/weixin_43305485/category_12382867.html)
1篇
- [ BIOSRM xFusion 服务器运维问题](https://blog.csdn.net/weixin_43305485/category_12281361.html)
7篇
- [ 软件获取](https://blog.csdn.net/weixin_43305485/category_10676554.html)
1篇
- [ Python基础学习](https://blog.csdn.net/weixin_43305485/category_11203106.html)
- [ LeetCode算法](https://blog.csdn.net/weixin_43305485/category_11577286.html)
6篇
- [ 操作系统](https://blog.csdn.net/weixin_43305485/category_11412091.html)
1篇
- [ 数据结构](https://blog.csdn.net/weixin_43305485/category_11074096.html)
5篇
- [ NB-IOT](https://blog.csdn.net/weixin_43305485/category_11181108.html)
2篇
- [ 数据分析学习](https://blog.csdn.net/weixin_43305485/category_10700694.html)
3篇
- [ 嵌入式体系学习](https://blog.csdn.net/weixin_43305485/category_10694713.html)
2篇
- [ 软件工程学习](https://blog.csdn.net/weixin_43305485/category_10694770.html)
1篇
- [ GIt学习](https://blog.csdn.net/weixin_43305485/category_10674919.html)
1篇
- [ JavaWeb学习](https://blog.csdn.net/weixin_43305485/category_10674940.html)
5篇
[展开全部 ]() [收起 ]()
### 目录
评论 2

被折叠的 条评论 [为什么被折叠?](https://blogdev.blog.csdn.net/article/details/122245662) [到【灌水乐园】发言](https://bbs.csdn.net/forums/FreeZone)
[查看更多评论]()
添加红包

下一步

知道了
![]()
成就一亿技术人\!
领取后你会自动成为博主和红包主的粉丝 [规则]()
[](https://blog.csdn.net/weixin_43305485/article/details/130045116)
hope\_wisdom
发出的红包
打赏作者
[](https://blog.csdn.net/weixin_43305485)
叫我蘑菇先生
你的鼓励将是我创作的最大动力
¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
 获取中
  扫码支付
您的余额不足,请更换扫码支付或[充值](https://i.csdn.net/#/wallet/balance/recharge?utm_source=RewardVip)
[打赏作者]()
实付元
[使用余额支付]()
 点击重新获取
扫码支付
钱包余额 0

抵扣说明:
1\.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。
[余额充值](https://i.csdn.net/#/wallet/balance/recharge)
![]() |
| Readable Markdown | null |
| Shard | 8 (laksa) |
| Root Hash | 14895566225899102208 |
| Unparsed URL | net,csdn!blog,/weixin_43305485/article/details/130045116 s443 |