卸载conda及直接rm导致-bash: /root/anaconda3/bin/python3的解决

目录

  • [卸载conda及直接rm导致-bash: /root/anaconda3/bin/python3的解决](#卸载conda及直接rm导致-bash: /root/anaconda3/bin/python3的解决)
    • 正常卸载
    • [非正常卸载导致 -bash: /root/anaconda3/bin/python3](#非正常卸载导致 -bash: /root/anaconda3/bin/python3)
  • 参考资料

卸载conda及直接rm导致-bash: /root/anaconda3/bin/python3的解决

正常卸载

cpp 复制代码
//首先使用conda安装anaconda清理工具
conda install anaconda-clean
//然后执行
anaconda-clean
//或者
anaconda-clean --yes

非正常卸载导致 -bash: /root/anaconda3/bin/python3

直接rm -rf文件夹会导致类似问题

.bashrc中,把Anaconda初始化那段代码删除,然后执行source ~/.bashrc ,让配置文件生效即可。

参考资料

1\] [-bash: /root/anaconda3/bin/python3: 没有那个文件或目录【linux下】------------附详细解决方法](https://blog.csdn.net/qq_33375598/article/details/118705538) \[2\] <> \[3\] <>

相关推荐
2***s6721 天前
【Go】Go语言基础学习(Go安装配置、基础语法)
服务器·学习·golang
于齐龙1 天前
服务器常见问题-FAQ
服务器
正在努力的小河1 天前
Linux 块设备驱动实验
linux·运维·服务器
wadesir1 天前
Nginx配置文件CPU优化(从零开始提升Web服务器性能)
服务器·前端·nginx
SoleMotive.1 天前
1、nginx反向代理了解吗?怎么配置nginx服务器?nginx负载均衡的算法都有哪些? 2、后端服务器宕机了,nginx服务器是怎么检查的
服务器·nginx·负载均衡
陶庵看雪1 天前
服务器纳管:核心概念与全流程解析
运维·服务器
xuanzdhc1 天前
Gitgit
java·linux·运维·服务器·c++·git
laocooon5238578861 天前
win下制作一个简单的Cmake,完成运行效果
linux·运维·服务器
北顾南栀倾寒1 天前
[杂学笔记]HTTP与HTTPS的区别、HTTPS进行TLS握手的过程、HTTPS如何防止中间人攻击、HTTP1.1与HTTP2.0的区别、TCP的拥塞控制
linux·服务器
拾忆,想起1 天前
Dubbo服务超时与重试策略配置指南:构建 resilient 微服务架构
服务器·网络·微服务·云原生·架构·dubbo