MAC 怎么终端怎么退出和进入Anaconda环境

mac安装完anaconda 后,命令行窗口默认使用conda的,取消默认,用以下一行代码在命令行运行即可,重启终端:

bash 复制代码
conda config --set auto_activate_base false  # 将false改为true设置默认环境为conda

进入conda环境,运行如下命令:

bash 复制代码
conda activate base或者虚拟环境名字

退出conda环境,运行 如下命令:

bash 复制代码
conda deactivate

转至:https://blog.csdn.net/weixin_42118352/article/details/120206360

相关推荐
寒水馨14 小时前
macOS下载、安装PowerShell-v7.6.4(附安装包powershell-7.6.4-osx-arm64.pkg)
macos·自动化·跨平台·shell·脚本·命令行·powershell
星辰即远方1 天前
天气预报总结
macos·ios·objective-c·cocoa
xixiaoyunya1 天前
Mac远程访问新范式:基于80KM穿云箭的内网穿透技术实践
macos
秋雨梧桐叶落莳1 天前
计算器仿写总结
学习·macos·ios·objective-c·cocoa
寒水馨2 天前
macOS下载、安装uv-0.12.0(附安装包uv-aarch64-apple-darwin.tar.gz)
python·macos·rust·项目管理·包管理器·astral·pip替代
寒水馨2 天前
macOS下载、安装protobuf-v35.1(附安装包protoc-35.1-osx-universal_binary.zip)
macos·google·grpc·序列化·protobuf·protoc·数据交换
寒水馨2 天前
macOS下载、安装ripgrep-15.2.0(附安装包ripgrep-15.2.0-aarch64-apple-darwin.tar.gz)
macos·正则表达式·rust·ripgrep·rg·命令行搜索·代码搜索
起司喵喵3 天前
Flutter-MacOS桌面OS系统|flutter.+window_manager客户端OS模板
flutter·macos·策略模式
代码对我眨眼睛3 天前
macOS Google Chrome 常用快捷键
前端·chrome·macos
啊真真真3 天前
macOS下libnfc ..写卡失败问题及解决方案
macos·策略模式